Select day(monday) in SQL Server -


i have field dd-mm-yy hh:mm:ss tt

i want select name of day

i tried datepart() , day()

both gave me 1 31.

what want monday, tuesday , on..

how achieve that?

select datepart(weekday, getdate()) 

or

select datename(weekday, getdate()) 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -