This Oracle tutorial explains how to use the Oracle/PLSQL TO_MULTI_BYTE function with syntax and examples.
The Oracle/PLSQL TO_MULTI_BYTE function returns a character value with all of the single-byte characters converted to multibyte characters. To use this function, your database character set contains both single-byte and multibyte characters.
The syntax for the TO_MULTI_BYTE function in Oracle/PLSQL is:
A char, varchar2, nchar, or nvarchar2 value converted to multibyte characters. This function will return its result in the same character set as char.
The TO_MULTI_BYTE function returns a multibyte character value that will be in the same character set as the char parameter.
The TO_MULTI_BYTE function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle TO_MULTI_BYTE function examples and explore how to use the TO_MULTI_BYTE function in Oracle/PLSQL.
For example:
The SQL statement above would return a multibyte character value.