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
Revert to Visual Studio 2008
well vs borewell
I need sample jsp programs using MySQL data base.
Network Diagnostic Tool on CentOS 5.4
How can I run my PC in safe mode?
How to make vba wait for Cube formulas to calculate?
Can I use server scripts with iPad?
Spell check two languages at the same time
Sysprep service pack 3
mcafee 4.5 issue cant see the agent logs