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

ORA_NLS.Single_Byte

Description

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 multi-byte
*/
bytes := Ora_Nls.Single_Byte;
IF bytes = FALSE
  lang_name (langinfo.txt);
  Text_IO.Put ('This is a multi-byte character set.');
END IF;