Skip Headers

Oracle® OLAP DML Reference
10g Release 1 (10.1)

Part Number B10339-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

DECIMALCHAR

(Read-only) The DECIMALCHAR option is the value specified for the NLS_NUMERIC_CHARACTERS option.

Data type

ID

Syntax

DECIMALCHAR

Notes


Format for Decimal Input

DECIMALCHAR only affects the way Oracle OLAP formats numbers in output. When you format numbers for input, use a period (.) for the decimal marker. To use a different decimal marker, enclose the value in single quotes and use the TO_NUMBER function to convert the value from text to a valid number.


The Thousands Marker

The THOUSANDSCHAR option lets you check the value of the thousands marker.

Examples

Example 10-1 Identifying the Decimal and Thousands Markers

The statements in this example show the DECIMALCHAR and THOUSANDSCHAR values.

  • The following statement might produce a comma as output.

    SHOW THOUSANDSCHAR
    
    
  • The following statement might produce a period as output.

    SHOW DECIMALCHAR
    
    
  • With these values, the following statement might produce the output that follows it it.

    SHOW TOTAL(sales)
    63,181,743.50