Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> PL/SQL: commit, savepoint and roll

PL/SQL: commit, savepoint and roll

From: Peter Laursen <ptl_at_edbgruppen.dk>
Date: 26 Jul 1999 09:11:32 GMT
Message-ID: <01bed750$021aaa10$2c289a0a@apollo>


Hello All
I need to do two inserts stmts in a PL/SQL procedure. Either both must fail or both may commit.

Could someone give a simple codeexample?

How do I deal with autocommit? Must I save the original autocommit value, set it to false and then reset it to its original value?

Thanks
Peter Received on Mon Jul 26 1999 - 04:11:32 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US