Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: reset a sequence in a trigger
altering a sequence is a DDL statement. Oracle always precedes any DDL
with an implicit commit. And yes, commits do not belong in a trigger.
I'd try to move altering the sequence into a storee procedure with AUTONOMOUS TRANSACTION. Untested. Received on Thu May 19 2005 - 09:23:45 CDT
![]() |
![]() |