Oracle9iAS Portal Developer Kit

get_attribute_as_number member function

Contained in package wwsto_api_session.

Call this function to return the value of a numeric attribute.

member function get_attribute_as_number

(

p_name in varchar2

)

return number;

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_name

The name of the attribute.

Datatype: in varchar2

Returns:

This function returns the number value of an attribute, or null if the specified attribute is not found.

Exceptions:

If the attribute's type indicates that the implementation type is not a number, a VALUE_ERROR exception is raised.

Example:

l_number_attr := l_user_obj.get_attribute_as_number

(

p_name => 'FINAL_VALUE'

);

Related topics

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