raresql.com
SQL SERVER – Get day of week in SQL 2005/2008/2012
How to get the day of the week ? I have been asked this question several times and we do have its solution via DATENAME function. However today we will achieve the same solution using FORMAT functi…