23

In SQL Server I can do this to add 6 months to the current date:

DateAdd(Month, 6, CURRENT_DATE)

What is the equivalent in Oracle?

1
  • 4
    It's still SQL, just another dialect. :)
    – Guffa
    May 24, 2011 at 17:00

1 Answer 1

45

The equivalent is:

ADD_MONTHS( CURRENT_DATE, 6 )

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.