Answers for "sql query to get data for a particular year"

SQL
0

get current year sql

select year(getdate())
Posted by: Guest on June-14-2020
0

extract year from date sql

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 query to get data for a particular year"

Code answers related to "SQL"

Browse Popular Code Answers by Language