Skip to content

Count_Elements

Count the number of elements in a record attribute of type array.

FUNCTION Count_Elements (   
   record_  IN type_record_,  
   name_    IN type_name_ ) RETURN NUMBER

Parameters

record_
Foundation1 record.

name_
    Attribute name.

Return

Number of elements in a the record attribute array.

Example

DECLARE  
   count_ NUMBER;  
BEGIN  
   ...  
   count_ := Plsqlap_Record_API.Count_Elements(AM,'ADDRESS_LABEL_LIST);  
   ...  
END;