This Oracle tutorial explains how to use the Oracle/PLSQL COMPOSE function with syntax and examples.
The Oracle/PLSQL COMPOSE function returns a Unicode string.
The syntax for the COMPOSE function in Oracle/PLSQL is:
The input value used to create the Unicode string. It can be a char, varchar2, nchar, nvarchar2, clob, or nclob.
The COMPOSE function returns a Unicode string.
Below is a listing of unistring values that can be combined with other characters in the compose function.
Unistring Value | Resulting character |
---|---|
unistr('\0300') | grave accent ( ` ) |
unistr('\0301') | acute accent ( ) |
unistr('\0302') | circumflex ( ^ ) |
unistr('\0303') | tilde ( ~ ) |
unistr('\0308') | umlaut ( ) |
The COMPOSE function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle COMPOSE function examples and explore how to use the COMPOSE function in Oracle/PLSQL.
For example: