Oracle9iAS Portal Developer Kit

is_valid_nls_language function

Contained in package wwnls_api.

Call this function to determine whether a given NLS language abbreviation is valid.

procedure is_valid_nls_language

(

p_nls_language varchar2

);

Version: Oracle9iAS Portal 9.0.2 or later

Parameters:

p_nls_language

An NLS language abbreviation.

Example: 'us'

Datatype: varchar2

Returns:

This function returns true if the abbreviation is valid, otherwise false.

Exceptions:

This function raises no user-defined exceptions.

Example:

if wwnls_api.is_valid_nls_language(

p_nls_language =>'us'

)

then

.
.
.

end if;

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio