Viewing 2 posts - 1 through 2 (of 2 total)
Try this
Declare @Value char(12)
SET @Value = your char(12) value for 106 format
to get to 106 format
Use this
Select Convert(Char(12),getdate(),106)
This will clarify the date format after that
SET the @Value...
January 17, 2011 at 10:50 pm
#1274484
Did u try the set datefirst function from T-sql.It actually sets the firstdate of week to Monday. Then on this you can aggregate on the datepart(wk,date) function. To top...
July 16, 2009 at 7:50 am
#1025654