Using SQL Server 2005
Table1
Date
19-12-2009
20-12-2010
.....
Date Column datatype is DATETIME
.
Expected Output
Monday
Tuesday
How to make a query for getting the day...
You can use the DATENAME
function.
SELECT DATENAME(WEEKDAY,[Date])
FROM Table1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With