Answers for "oracle extract month and year from date"

SQL
1

oracle extract year from current date

SELECT extract(YEAR FROM sysdate) FROM dual;			// number
SELECT to_char(sysdate, 'YYYY') FROM dual;				// varchar
Posted by: Guest on May-04-2021
2

oracle sql day of month from date

select extract(day from systimestamp) from dual;
Posted by: Guest on October-08-2020

Code answers related to "oracle extract month and year from date"

Code answers related to "SQL"

Browse Popular Code Answers by Language