44.21 PUSH Procedure Signature 6

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

Syntax

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

Parameters

Table 44-23 PUSH Parameters

Parameter Description
p_table The table.
p_values Values to add to p_table.

Example

The following example appends 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