Viewing post 1 (of 1 total)
One thing I noticed is this: I expected saturday to be returned as day 7 when sunday was day 1 however; the formula, Declare @ThisDay int = (DATEPART(weekday,@ThisDate) + @@DATEFIRST)...
July 29, 2012 at 8:37 am
#1518934