How do I get the day of the week (in ffffd format, so Mon, Tue etc.) in SQL ? I don\'t see anything about it in the CAST and CONVERT documentation..
try this
SELECT DATEPART(DW, '1/1/2009')
Read up DATEPART here
http://msdn.microsoft.com/en-us/library/ms174420.aspx