Created
February 2, 2012 23:16
-
-
Save stuartf7/1726391 to your computer and use it in GitHub Desktop.
Example of how to set the first day of the week in SQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Set the first day of the week to monday | |
SET DATEFIRST 1 | |
-- Set the first day of the week to tuesday | |
SET DATEFIRST 2 | |
-- Set the first day of the week to sunday | |
SET DATEFIRST 7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment