Answers for "get day of week sql server"

SQL
1

how to get weekday from old date in sql

select format(columnName, 'dddd') as WeekDay from tableName; -- SQL Server 17
Posted by: Guest on January-14-2021
0

sql server convert date to weekday

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

get week day name sql server

select datename(dw,getdate()) --Thursday
select datepart(dw,getdate()) --2
Posted by: Guest on September-29-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language