Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: ** Want a new DELETE command **
Doug Anderson wrote:
> Wouldn't it be nice if you could do something like the following...
> DELETE FROM table
> WHERE ...
> COMMIT EVERY n ROWS;
you can do this by building a pl/sql loop, eg:
begin
loop
delete table_name where rownum < 1000; exit when sql%notfound; commit;
stevec. Received on Tue May 20 1997 - 00:00:00 CDT
![]() |
![]() |