A script-enabled browser is required for this page to function properly.

ORA_NLS.SINGLE_BYTE built-in function

This function returns true or false, depending on whether all of the characters in the current character set can be represented in one byte.

Syntax


FUNCTION ORA_NLS.SINGLE_BYTE
RETURN BOOLEAN;

Returns

TRUE or FALSE.

Example


 /*
  ** Determine if the character set is single or multibyte
 */
 bytes := ORA_NLS.SINGLE_BYTE;
   IF bytes = FALSE
   lang_name (langinfo.txt);
   TEXT_IO.PUT ('This is a multibyte character set.');
 END IF;

See also

About the ORA_NLS built-in package

ORA_NLS built-in package