Returns the requested information about the current language. You can use GET_LANG_SCALAR to retrieve numeric data.
FUNCTION Ora_Nls.Get_Lang_Scalar
(attribute PLS_INTEGER)
RETURN NUMBER;
attribute | An Ora_Nls Constant or its associated integer value. For a List Of constants, see Ora_Nls Constants. |
/*
** Retrieve and print out the language number
*/
BEGIN lang_num (out Text_IO.File_Type)
lang_num NUMBER;
BEGIN
lang_num := Ora_Nls.Get_Lang_Scalar
(Ora_Nls.Iso_Alphabet);
Text_IO.Putf (out, "Current Language numer is %s/n",
lang_num);
END;