DAYNAME
functionsupportedCore SQL functionsExtracts the three-letter day-of-week name from the specified date or timestamp. Note To return the full name for the day of the week instead of the three-letter day-of-week name, you can use the EXTRACT function, the DECODE function, and the dayofweek part. See EXTRACT for an example.
Syntax
DAYNAME( <date_or_timestamp_expr> )
Parameters
| Name | Required | Description |
|---|---|---|
date_or_timestamp_expr | required | A date or a timestamp, or an expression that can be evaluated to a date or a timestamp. |
Returns
Returns a value of VARCHAR data type.