Reputation: 30313
how to show the day (like : sunday,monday ...) in sql query i write like this
select datename(day,getdate())
but it give numaric values but i want sunday,monday,tuesday..... please give some soulution
Upvotes: 0
Views: 824
Reputation: 8335
DATENAME ( datepart, date )
e.g.
SELECT DATENAME(weekday,getdate())
Upvotes: 1