Write a Oracle SQL statement to get the number of days in current month.
Oracle Code:
SELECT CAST (TO_CHAR (LAST_DAY (SYSDATE), 'dd') AS INT) number_of_days FROM DUAL;
Output:
NUMBER_OF_DAYS 1 28
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Oracle Code:
Output:
need an explanation for this answer? contact us directly to get an explanation for this answer