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
Oracle Packages
What's the purpose of "MAKEFILE" macro in a makefile?
DHCP - Windows Server 2003
Check to see if a table has a certain value, MS Access 2003
PHP Pass Parameters to Online Activation Page
Help with Vista re-installation
Emc Networker mminfo command
Compare 2 separate databases
I/O error reported on file system /oracle/P1U aix hdisk path vio
IIS 6.0 asp.net 2.0 cpu performance issue