This article is written about how to use the Oracle/PLSQL TO_MULTI_BYTE function with syntax and examples.
Description
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.
Syntax
The syntax for the TO_MULTI_BYTE function in Oracle/PLSQL is:
TO_MULTI_BYTE( char )
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.
Returns
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
Example
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.
Leave a Review