Answers for "sql get date year"

SQL
0

get current year sql

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

print year of a date sql

SELECT EXTRACT(YEAR FROM CURRENT_DATE)
Posted by: Guest on November-22-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language