Oracle / PLSQL: TO_MULTI_BYTE Function

This article is written about how to use the Oracle/PLSQL TO_MULTI_BYTE function with syntax and examples.


The Oracle/PLSQL TO_MULTI_BYTE function returns a persona fee with all of the single-byte characters transformed to multibyte characters. To use this function, your database persona set includes both single-byte and multibyte characters.


The syntax for the TO_MULTI_BYTE function in Oracle/PLSQL is:


Parameters or Arguments

char A char, varchar2, nchar, or nvarchar2 cost transformed to multibyte characters. This feature will return its result in the equal persona set as char.


The TO_MULTI_BYTE characteristic returns a multibyte personality fee that will be in the equal persona set as the char parameter.

Applies To

The TO_MULTI_BYTE function can be used in the following versions of Oracle/PLSQL:

Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i


Let’s seem to be at some Oracle TO_MULTI_BYTE characteristic examples and discover how to use the TO_MULTI_BYTE function in Oracle/PLSQL.

For example:

select TO_MULTI_BYTE('Tech on the net')
from dual;

The SQL declaration above would return a multibyte persona value.