Postgresql, Autocommit, Oracle.
with AUTOCOMMIT off: psql -U postgres demo ### PostgreSQL 11.4 drop table if exists DEMO; create table DEMO(n,t) as select 1 n,current_timestamp t; alter table DEMO add unique(n); create or replace procedure my_inserts(n1 int, n2 int) as $$ begin for i in n1..n2 loop insert into DEMO values