Я не уверен, почему вы захотите сделать это (удаление нескольких строк более эффективно, чем удаление одной строки), но вы можете использовать для этой цели составной триггер, например:
create table mytable (id number);
create or replace trigger one_row_per_delete
for delete on mytable
compound trigger
row_count integer;
before statement is
begin
row_count := 0;
end before statement;
before each row is
begin
row_count := row_count + 1;
end before each row;
after statement is
begin
if row_count > 1 then
raise_application_error(-20000, 'Cannot delete more than one row per statement');
end if;
end after statement;
end one_row_per_delete;
Проверено:
insert into mytable values (1);
1 row inserted.
insert into mytable values (2);
1 row inserted.
insert into mytable values (3);
1 row inserted.
delete mytable where id = 1;
1 row deleted.
delete mytable;
ORA-20000: Cannot delete more than one row per statement
ORA-06512: at "SCOTT.ONE_ROW_PER_DELETE", line 18
ORA-04088: error during execution of trigger 'SCOTT.ONE_ROW_PER_DELETE'