create global temporary table gtt ( x int ) on commit delete rows Table created.
insert into gtt values (1) 1 row(s) inserted.
select * from gtt | X | 1 | 
|---|
declare 
   pragma autonomous_transaction; 
begin 
   insert into gtt values ( 2 ); 
   commit; 
end; Statement processed.
select * from gtt no data found