Q:

Write a Oracle SQL statement to get the last date of the current month

0

Write a Oracle SQL statement to get the last date of the current month.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

SELECT TRUNC (LAST_DAY (SYSDATE)) "Last day of current month" FROM DUAL;

Output:

 

  	Last day of current month
1	2/28/2021 12:00:00 AM

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now