SDU Tools: Is Week Day or Is Weekend in SQL Server T-SQL

added by DotNetKicks
7/19/2019 7:46:16 PM

1 Kicks, 196 Views

I often need to know if a date that I'm working with is a week day or a weekend. While T-SQL has some functions that help with that, you need to use a combination of them to get a reliable outcome that's indepdenent of the current session settings.


0 comments