Thursday, April 25, 2013

Get Current Year in SQL Server

Get Current Year in SQL Server



Using Year function  User can get current Year.

for ex:   Year(Getdate())

select Year(getdate()) "Current Year"

for ex: 2013



Tags: Get Current Year in SQL Server, Year Today in SQL Server, Current Year in SQL Server, How to get current year in SQL Server .  YEAR function in T-SQL,SQL SERVER 2012

No comments:

Post a Comment