How to get only Year from Current Date?

 Posted by vishalneeraj-24503 on 12/26/2013 | Category: Sql Server Interview questions | Views: 967 | Points: 40
Answer:

We will use Year in-built Sql-Server function to get Year from current date.

For Example:-

Select Year(GetDate()) as 'Current Year';


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response