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

ORA_NLS.Get_Lang_Scalar

Description

Returns the requested information about the current language. You can use GET_LANG_SCALAR to retrieve numeric data.

Syntax


FUNCTION Ora_Nls.Get_Lang_Scalar
   (attribute PLS_INTEGER)
RETURN NUMBER;

Parameters

attribute An Ora_Nls Constant or its associated integer value. For a List Of constants, see Ora_Nls Constants.

Returns

A number.

Example


 /*
** 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;