What is the use of DATEPART function in SQL?

 Posted by Abhisek on 1/21/2010 | Category: Sql Server Interview questions | Views: 1690

datepart(parameter,date) will extract the date part according to the parameter passed. The parameters can be yy for year, mm for month or dd for date.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response