Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Commit Stored Procedures

717025Aug 18 2010 — edited Aug 18 2010
Hello everybody,

I'm writing a package of a Web application. Is it necessary to commit/rollback in the Insert/Updates statements ?

Ex:

INSERT INTO t1 VALUES(1);

EXCEPTION
-- exception handling

IF success THEN COMMIT ELSE ROLLBACK;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 15 2010
Added on Aug 18 2010
14 comments
1,729 views