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
Check entries from user with Javascript
Design issue, storing date from /proc
make a gigabit rj45 loopback plug
what is best editor for oracle?
open Firmware
calling C++ dll function from c#
Cold fusion & SQL CFIF "if variable not present, alt query" problem
Exchange 2003 - new Server - still routing through old smtp virtual server
How do I register Exchange 2010 with Windows Server Backup on Windows Server 2008 R2
acronis disk director server 10