Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

is there an equivalant to dateadd in oracle?

627047May 21 2009 — edited May 21 2009
So I have a line of code in MS SQL
HDATE >= DATEADD(DAY, - @V_NUMDAYS,GETDATE()))

im not sure how to translate that to oracle..

I am comparing HDATE to see if it is equal to or greater then today - @V_NUMDAYS (which is a whole number ) so it will compare the hdate to todays date minus 10 days....
This post has been answered by SanjayRs on May 21 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 18 2009
Added on May 21 2009
6 comments
2,944 views