Oracle® OLAP DML Reference 11g Release 1 (11.1) Part Number B28126-01 |
|
|
View PDF |
The DAYNAMES option holds the list of valid names for the days of the week. The names are used to display values of type DATE-only or to convert DATE-only values to text.
Oracle OLAP consults the DAYNAMES list when it displays or converts a date using the <WT>
, <WTXT>
, <WTXTL>
, <WTEXT>
, or <WTEXTL>
formats. These formats are specified in the DATEFORMAT option. When you have more than one set of day names, Oracle OLAP chooses the synonym whose number of characters and capitalization pattern best match the DATEFORMAT specification.
Data Type
TEXT
Syntax
DAYNAMES = name-list
Arguments
A multiline text expression that lists the names of the seven days of the week. Each name occupies a separate line. Regardless of which day you are treating as the first day of the week, the list must begin with the name for Sunday. The default value is the list of English names for the days of the week, in uppercase. You can include more than one set of seven names in your list. The eighth name is a synonym for the first name, the ninth name is a synonym for the second name, and so on.
Examples
Example 6-17 Specifying Day Names
The following statements set DAYNAMES to the French names for the days of the week and send the output to the current outfile.
DAYNAMES = 'dimanche\nlundi\n- mardi\nmercredi\njeudi\nvendredi\nsamedi' SHOW DAYNAMES
These statements produce the following output.
dimanche lundi mardi mercredi jeudi vendredi samedi