Answers for "SSMS weekday as number"

SQL
1

datepart day of week

SELECT DATENAME(DW,'2007-10-30');
Posted by: Guest on July-20-2020
0

sql server convert date to weekday

SELECT DATENAME( DW , GETDATE() );
Posted by: Guest on April-06-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language