DECOMPOSE function in Oracle

DECOMPOSE is one of the vital string/char functions of Oracle. It is used to return a UNICODE string for a string. The DECOMPOSE function is supported in the various versions of the Oracle/PLSQL, including, Oracle 12c, Oracle 11g, Oracle 10g and Oracle 9i.

Syntax:

DECOMPOSE( string )


Parameters:
string: It is used to specify the string to be decomposed.

Example:

DECOMPOSE( 'Hèllo World’ )

Output:

'Hello World’
`

Explanation:
The required string is converted to a UNICODE string.