|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I need to add 7 days to SYSDATE. I wish to do this in my SELECT statement. How do you do it? I cannot seem to find the function(if there is one) that does this in ORACLE. Can you help?
Thanks in advance... ...theB |
|
#2
|
|||
|
|||
|
Just use + 7 - it treats addition/subtraction as a number of days by default
ie/ SELECT SYSDATE+7 FROM DUAL Hope this helps |
|
#3
|
|||
|
|||
|
thanks for TunkyPig...
|
|
#4
|
|||
|
|||
|
Many thanks
Sorry for the late reply but thanks for the tip.
|
![]() |
| Viewing: Dev Articles Community Forums > Databases > General SQL Development > Adding days to date in ORACLE SELECT |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|