I have sysdate
in one column and I want to add two years in another. I would not like to use sysdate + 365
Is there any other way?
从双选择add_months(sysdate,12)
SELECT your_date_column + interval '2' year FROM dual
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.