Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: functions/procedures and commits
The behavior of this may have changed... but I have seen autocommit not work
as advertised. Just my opinion but I think explicit commits are good
practice, if nothing else just for ease of reading code.
Lisa Koivu
Oracle Database Administrator
Fairfield Resorts, Inc.
5259 Coconut Creek Parkway
Ft. Lauderdale, FL, USA 33063
-----Original Message-----
Sent: Thursday, January 02, 2003 10:41 AM
To: Multiple recipients of list ORACLE-L
Or if you set autocommit, in which case a commit is issued every X number of operations.
John P Weatherman
Oracle Database Administrator
Replacements, Ltd.
-----Original Message-----
Sent: Thursday, January 02, 2003 9:29 AM
To: Multiple recipients of list ORACLE-L
No ...
an implicit commit is performed
1. If you perform any DDL statement
2. If SQLPLUS you exit without issuing an explicit ROLLBACK.
Otherwise, your transaction will remain open awaiting for an explicit commit or rollback.
Raj
QOTD: Any clod can have facts, but having an opinion is an art!
-----Original Message-----
]
Sent: Thursday, January 02, 2003 9:14 AM
To: Multiple recipients of list ORACLE-L
> Under what circumstances is a COMMIT done implicitly?
>
> If I call a function or procedure that performs an insert, but does not do
> a commit, will a commit be implicitly performed when the function ends?
>
> i.e. is ...
>
> begin
>
> INSERT INTO
> ... etc.
>
> end;
>
> the same as
>
> begin
>
> insert_the_record;
>
> end;
>
> where insert_the_record is a procedure that does the insert, but nothing
> else.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net <http://www.orafaq.net> -- Author: John Dunn INET: john.dunn_at_sefas.co.uk Fat City Network Services -- 858-538-5051 http://www.fatcity.com <http://www.fatcity.com> San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Koivu, Lisa INET: Lisa.Koivu_at_efairfield.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Thu Jan 02 2003 - 12:22:27 CST
![]() |
![]() |