Oracle® OLAP DML Reference 10g Release 2 (10.2) Part Number B14346-03 |
|
|
PDF · Mobi · ePub |
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 or to convert DATE 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.
TEXT
DAYNAMES = name-list
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.
Example 11-37 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