SQL Blog - Pieter van Maasdam, Macaw

SSIS, SSAS, SSRS & other SQL-things I come across...

Browse by Tags

All Tags » SQL 2008 IsoWeek (RSS)
Sorry, but there are no more tags available to filter with.
SQL2008 - IsoWeek in Datepart function
To calculate the correct weeknumber I always used the IsoWeek function (found here: http://msdn.microsoft.com/en-us/library/aa258261(SQL.80).aspx ). In SQL 2008 this function is available in the DATEPART function: SELECT DATEPART ( wk , '4 jan 2009'...

Posted 24 February 2009 08:01 by Repieter | 1 comment(s)

Filed under: