44.19 PUSH Procedure Signature 4

This procedure appends values of a PL/SQL table to apex_t_varchar2 table.

Syntax

PROCEDURE PUSH (
    p_table  IN OUT NOCOPY apex_t_varchar2,
    p_values IN            apex_application_global.vc_arr2 );

Parameters

Table 44-21 PUSH Procedure Signature 4 Parameters

Parameter Description
p_table Defines the table.
p_values Specifies the values that should be added to p_table.

Example

The following example demonstrates how to append the values of a PL/SQL table, then prints the table.

DECLARE
    l_table  apex_t_varchar2;
    l_values apex_application_global.vc_arr2;
BEGIN
    l_values(1) := 'a';
    l_values(2) := 'b';
    apex_string.push(l_table, l_values);
    sys.dbms_output.put_line(apex_string.join(l_table, ':'));
END;
-> a:b