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
How can I set up email on my Samsung Black Jack cell phone (log)?
How do I know if my laptop has a spyware?
Deployment
Users resolution keeps reverting back to 800x600
Delphi Email Blaster - possibly using Report Builder and PsRBExportDevices
Display Key Fields
Windows Service crashing on one machine, not on the other
Spread sheet formula to reference entire row/column, or at least the number of rows/columns available
Private WAN
Domain controler problem, clients cannot log on