Which of the following way is correct to add x months to a month?
Options
- SELECT ADD_MONTHS('01-JAN-2005', 13) FROM dual;
- SELECT ADDMONTHS('01-JAN-2005', 13) FROM dual;
- SELECT ADD MONTHS('01-JAN-2005', 13) FROM dual;
- SELECT MONTHS_ADD(13,'01-JAN-2005') FROM dual;
CORRECT ANSWER : SELECT ADD_MONTHS('01-JAN-2005', 13) FROM dual;
Write your comments