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
RAID 6 array expansion with Dell Poweredge 2950 III
Ubuntu: automatically connect to wireless modem
how to change domain name in sbs 2008
WordPress FIle Manager w/ Database Integration
Windows 2008 64bit system showing only 4GB usable...
update row information php
VMware or MS Virtual Server?
RadGrid GridTemplateColumn filter
Rules at the mailbox level via Exchange
disable or turn off all the keyboard shortcut in Windows XP