Sets the numbering of the days of the week.
1, 2, 3, 4, 5, 6, 7
7 (Sunday is the first day of the week)
The values have the following meaning:
The value specified by this option affects the result of the DATEPART function when obtaining a weekday value. You can also change the first day of week using the DATEFIRST option in the SET statement.
The value specified by this option does not affect the result of the DOW function. For example, even if the first day of the week is set to Monday, the DOW function returns a 2 for Monday.