35.15 PUSH Procedure Signature 1

This procedure appends value to apex_t_varchar2 table.

Syntax

PUSH (
   p_table IN OUT NOCOPY apex_t_varchar2,
   p_value IN VARCHAR2 );

Parameters

Table 35-17 PUSH Procedure Signature 1 Parameters

Parameter Description

p_table

Defines the table.

p_value

Specifies the value to be added.

Example

The following example demonstrates how to append 2 values, then prints the table.

declare
    l_table apex_t_varchar2;
begin
    apex_string.push(l_table, 'a');
    apex_string.push(l_table, 'b');
    sys.dbms_output.put_line(apex_string.join(l_table, ':'));
end;
-> a:b