Answers for "day of week in sql"

SQL
1

datepart day of week

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

get week day from date in sql

SELECT TO_CHAR(your_table.date_colunm, 'DAY')
FROM your_table;
Posted by: Guest on November-15-2020
-1

extract weekday from date in sql

SELECT WEEKDAY(date);
Posted by: Guest on June-15-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language