70:
71: d_position := 20;
72:
73: FORALL i IN 1..p_draft_id_tbl.COUNT
74: INSERT INTO po_session_gt
75: ( key,
76: num1
77: )
78: SELECT l_key,
91: d_position := 30;
92:
93: -- All the num1 returned from this DELETE statement are indexes for
94: -- records that contain draft changes
95: DELETE FROM po_session_gt
96: WHERE key = l_key
97: RETURNING num1
98: BULK COLLECT INTO l_dft_exists_index_tbl;
99: