How to fetch Month Number from any specified Month Name?

 Posted by vishalneeraj-24503 on 10/7/2014 | Category: Sql Server Interview questions | Views: 1360 | Points: 40
Answer:

Use below query:-
SELECT MONTH(CAST('February' + '1 2014' AS Datetime)) AS Month_No


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response