TO_SINGLE_BYTE
TO_SINGLE_BYTE(char)

Converts multibyte characters to their single-byte equivalents. If a multibyte character does not have a multibyte equivalent, it is left unchanged. This function is designed for use with strings based on a multibyte character set.

Example

SQL> SELECT TO_SINGLE_BYTE('Be Nice') FROM dual;

TO_SING
-------
Be Nice

Get Oracle SQL: the Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.