sql server 2005 - Finding Day in T-SQL -
Please tell me what could be on Sunday based on this date?
Edit: / P>
Answer: Another thing comes to my mind: Find out what is the first day of the week.
or a variable With:
Declare @date smalldatetime set @date = '12 / 25/2008 'datename (weekday, @date)
Comments
Post a Comment