Microsoft
Software
Hardware
Network
Question : PL/SQL - how to dynamically retrieve next 5 years from sysdate
Does anyone know to code the PL/SQL required to dynamically retrieve the next 5 years from the current sysdate? So no matter what year it is, the query will always produce the next 5 years from that date.
Thanks.
Answer : PL/SQL - how to dynamically retrieve next 5 years from sysdate
try this. It works for me.
select to_char(add_months(sysdate
,(level-1)
*12), 'YYYY')
from dual
connect by level <= 5
Random Solutions
XSLT Wildcards and custom processing.
Creating a simple Stored Procedure to check a range value
Portable Air Conditioner Question.
how to view/edit server-side rules in Exchange 2003
Windows 7 Professional 64 bit hanging on Welcome Screen
Converting xcel files to html
POP UP error in MS-CRM
Factory defaults on a linksys WAG 120N Modem Router
With PHP, what is the best way of detecting a user based on IP and updating it accordingly?
rsync with One host in DMZ