I've added a new utility function in Technet Wiki to retrieve the number of week day for the month for the date passed ie say 13 Apr 2014 is 2nd Saturday,15th jan 2013 is 3rd Tuesday etc. Do check it out from below link and let me know any comments / clarification you may have on it.
http://social.technet.microsoft.com/wiki/contents/articles/23839.t-sql-get-weekday-number-of-the-month.aspx
http://social.technet.microsoft.com/wiki/contents/articles/23839.t-sql-get-weekday-number-of-the-month.aspx
No comments:
Post a Comment