Date Functions MSSQL Tutorial

35>
36> SELECT YEAR(GETDATE())
37> GO
-----------
       2007
(1 rows affected)