vineri, 14 ianuarie 2011

Setting the week's start day in MS SQL

SET DATEFIRST 1 --start day is Monday

SET DATEFIRST 7 --start day is Sunday – default

To test it PRINT @@DATEFIRST

Niciun comentariu:

Trimiteți un comentariu