Single-row character functions accept character input and can return either character or number values.
This section lists character functions that return character values. Unless otherwise noted, these functions all return values with the datatype VARCHAR2 and are limited in length to 4000 bytes. Functions that return values of datatype CHAR are limited in length to 2000 bytes. If the length of the return value exceeds the limit, Oracle truncates it and returns the result without an error message.
Syntax |
|
Purpose |
|
Example |
Purpose |
|
Example |
S |
Purpose |
|
Example |
|
Purpose |
|
Example |
|
Syntax |
|
Purpose |
|
Example |
|
Syntax |
|
Purpose |
|
Example |
|
Syntax |
|
Purpose |
|
Example |
|
Syntax |
|
|
Purpose |
||
|
|
|
|
|
|
|
|
|
|
|
|
Example |
|
Syntax |
|
Purpose |
|
Example |
Syntax |
|
Purpose |
|
Example |
S |
This section lists character functions that return number values.
Syntax |
|
Purpose |
|
Example |
Syntax |
|
Purpose |
|
Example |
|
Syntax |
|
Purpose |
|
Example |
Syntax |
|
Purpose |
where sort is a linguistic sort sequence or BINARY. If you omit 'nlsparams', this function uses the default sort sequence for your session. If you specify BINARY, this function returns char. For information on sort sequences, see the discussions of national language support in Oracle8 Reference. |
Example |