How to get name of the day or day of the week in SQL Server ,Oracle and Mysql

 

Sql server has a date function  called DATENAME to get the name of the day or day of week

 

 

Image

 

Oracle day name or day of week function

Image

 

Mysql has a similar function called dayname() which is equivalent to datename in Microsoft SQL server 

Image

 

Advertisement