NLS_CHARSET_ID
NLS_CHARSET_ID
returns the character set ID number corresponding to the character set name.
SQL syntax
NLS_CHARSET_ID(String)
Parameters
NLS_CHARSET_ID
has the parameter:
Parameter | Description |
---|---|
|
The input string argument is a run-time If the input string corresponds to a supported TimesTen character set, the associated character set ID number is returned; otherwise, Providing |
Examples
The following example returns the character set ID number of character set US7ASCII
:
Command> SELECT nls_charset_id('US7ASCII') FROM dual; < 1 > 1 row found.
Also see the example in the next section, "NLS_CHARSET_NAME", that uses the NLS_CHARSET_ID
result as input to NLS_CHARSET_NAME
.