Answers for "get current year in oracle sql"

SQL
0

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

Code answers related to "SQL"

Browse Popular Code Answers by Language