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!

Subtract a year

12513Nov 7 2002
How can you subtact a year from a date?

I could do:
select sysdate -365 from dual;
But that wouldn't take into account leap years if, for example, I wanted to subtract 20 years.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 5 2002
Added on Nov 7 2002
4 comments
39,669 views