As @Lamak suggested, you can use the DATENAME function if you are on SQL Server 2005 or later:
SELECT DATENAME(dw, DateField) FROM Table
In earlier versions, the closest you could be to the DATEPART function with dw as the interval, but you need CASE to convert the number returned to the day name, as shown here .
SELECT CASE DATEPART(dw, DateField) WHEN 1 THEN 'Sunday' WHEN 2 THEN 'Monday' WHEN 3 THEN 'Tuesday' WHEN 4 THEN 'Wednesday' WHEN 5 THEN 'Thursday' WHEN 6 THEN 'Friday' WHEN 7 THEN 'Saturday' END AS DayOfWeek FROM Table
Also look at the MSDN documentation notes for these date functions for information about which day of the week is considered the first day (depends on the DATEFORMAT parameter of your SQL environment).
Dan j
source share