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
The future of VBA
Teradata Where Clause - Limit date to this month
Win 2003 server dns
Carrier Unlock for iPhone 3GS iOS 4.0.1 (8A306)
Will there be a 13" Macbook with an iCore processor anytime soon? Safe to buy C2D?
Best Practice Disk Partitions
RSH client for windows 2008 r2
How to open an XML file and change a value.
SSIS getting data from SQL to Oracle
Antivirus software windows XP