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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s