ORA_NLS.AMERICAN
built-in functionThis function returns TRUE
or FALSE
, depending on
whether the current character set is "American".
FUNCTION ORA_NLS.AMERICAN
RETURN BOOLEAN;
TRUE
or FALSE
.
/*
** Determine if you're dealing with an American
** set or not
*/
PROCEDURE is_american (out TEXT_IO.FILE_TYPE) IS
us BOOLEAN;
BEGIN
us := ORA_NLS.AMERICAN;
IF us = TRUE
THEN
TEXT_IO.PUT (out, 'Character set is American');
ELSE
change_char_set;
ENDIF;
END;
About the ORA_NLS
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.