Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Nested transactions?
} Mr. Jeremy Bettis <bettis_at_inetnebr.com> wrote in article } <59otbf$8qv_at_falcon.inetnebr.com>...
You can do what you want using the SAVEPOINT command. (I've never heard it called "nested transactions" before, BTW.)
For example:
insert foo ...
SAVEPOINT XX1;
insert bar ....
ROLLBACK TO SAVEPOINT XX1;
insert baz ....
COMMIT WORK;
will insert foo and baz, but not bar.
Paul Zola Technical Specialist World-Wide Technical Support Development Tools ============================================================================== Computers possess the truly profound stupidity of the inanimate. - B. Sterling Disclaimer: Opinions and statements are mine, and do not necessarily reflect the opinions of Oracle Corporation.Received on Tue Dec 24 1996 - 00:00:00 CST