ORA_NLS.GET_LANG_STR
built-in functionThis function returns the requested information about the current language.
You can use GET_LANG_STR
to retrieve character information.
FUNCTION ORA_NLS.GET_LANG_STR
(attribute PLS_INTEGER)
RETURN VARCHAR2;
Parameter |
Description |
|
An ORA_NLS constant or its associated integer value. For a List of constants, see ORA_NLS character constants.. |
A character value.
/*
** Retrieve and print out the language name
*/
BEGIN lang_name (out TEXT_IO.FILE_TYPE)
lang_name VARCHAR2(80);
BEGIN
lang_name := ORA_NLS.GET_LANG_STR
(ORA_NLS.LANGUAGE);
TEXT_IO.PUT(out, "Current Language is %s\n",
lang_name);
END;
About the ORA_NLS
built-in package
Copyright © 1984, 2005, Oracle. All rights reserved.