Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Returns the name of the day of the week from a date.
DAYNAME( date-expression )
date-expression The date.
VARCHAR
The English names are returned as: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.
The following statement returns the value Saturday:
SELECT DAYNAME ( '1987/05/02' );