Returns the name of the day of the week from the specified date.
DAYNAME( date-expression )
date-expression The date.
The following statement returns the value Saturday.
SELECT DAYNAME ( '1987/05/02' ) FROM iq_dummy
SQL/92 Vendor extension.
Sybase Not supported by Adaptive Server Enterprise.