CURRENT DATE + 2 MONTHS should give you ...
SQL Reference is the manual you may want for SQL functions ... Please always take time to search in this manual before posting ... You may save considerable amount of your time and others' time ...
Cheers
Sathyaram
Quote:
Originally posted by treddy123
In oracle to add 2 months to the sysdate we execute the below statement.
SQL> select add_months(sysdate, 2), sysdate from dual;
ADD_MONTH SYSDATE
--------- ---------
31-MAY-04 31-MAR-04
I want a similar function in DB2.
|