86:
87: d_position := 20;
88:
89: FORALL i IN 1..p_draft_id_tbl.COUNT
90: INSERT INTO po_session_gt
91: ( key,
92: num1
93: )
94: SELECT l_key,
106: d_position := 30;
107:
108: -- All the num1 returned from this DELETE statement are indexes for
109: -- records that contain draft changes
110: DELETE FROM po_session_gt
111: WHERE key = l_key
112: RETURNING num1
113: BULK COLLECT INTO l_dft_exists_index_tbl;
114: