ORA_NLS.SIMPLE_CS
built-in functionThis function returns true or false, depending on whether the current character set is simple (that is, single-byte, no special characters, no special handling).
FUNCTION ORA_NLS.SIMPLE_CS
RETURN BOOLEAN;
TRUE
or FALSE
.
/*
** 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;
About the ORA_NLS
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.