Answers for "extract year and month from date in sql oracle"

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 "extract year and month from date in sql oracle"

Code answers related to "SQL"

Browse Popular Code Answers by Language