Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: trying to understand transaction control in pl/sql
Kenneth Koenraadt wrote in message news:<417d26ae.832968_at_news.inet.tele.dk>...
>
> Hi Ken,
>
> An *UNHANDLED* exception causes the on-going transaction to be rolled
> back. In the second example you handle the exception, thus no
> rollback.
>
Hi Kenneth,
Does this mean a transaction in a pl/sql unnamed block (to start with) runs from the start of the block to the first commit or rollback or savepoint or set transaction? The second to the next, etc. (except for called autonomous transaction procs)? So each statement in the pl/sql unnamed block is not itself a transaction, even though they would be if individually typed in sequence at the sqlplus prompt?
Hope I'm being clear.
Thanks again for your reply.
Ken Received on Tue Oct 26 2004 - 08:16:47 CDT