TO_MULTI_BYTE is one of the vital Conversion functions of Oracle. It is used to convert a character value with all of the single-byte characters to multibyte characters. The TO_MULTI_BYTE function is supported in the various versions of the Oracle/PLSQL, including, Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i and Oracle 8i.
Syntax:
TO_MULTI_BYTE ( char )
Parameters:
char: It is used to specify the character value to be converted.
Example:
select TO_MULTI_BYTE( 'Hello World' ) from dual; |
Explanation:
Here, the result will be a multibyte character value.