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

ORA_NLS.SIMPLE_CS built-in function

This function returns true or false, depending on whether the current character set is simple (that is, single-byte, no special characters, no special handling).

Syntax


FUNCTION ORA_NLS.SIMPLE_CS
RETURN BOOLEAN;

Returns

TRUE or FALSE.

Example


/*
  ** Determine if the language is simple or not
*/
 simplecs := ORA_NLS.SIMPLE_CS;
  IF simplecs = TRUE
    lang_name (langinfo.txt);
    TEXT_IO.PUT ('This language uses a simple character set.');
  ELSE
    lang_name (langinfo.txt);
    TEXT_IO.PUT ('This language uses a complex character set.');
  ENDIF;

See also

About the ORA_NLS built-in package

ORA_NLS built-in package