Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to prevent oracle from committing a transaction?
Richard,
The discussion so far has not found a way to "turn that off" -- even set autocommit off will still commit when you exit (or quit, dang it), unless you EXIT ROLLBACK; Did you find another way? Or is that what you mean?
Diana Duncan
TITAN Technology Partners
One Copley Parkway, Ste 540
Morrisville, NC 27560
VM: 919.466.7337 x 316
F: 919.466.7427
E: Diana_Duncan_at_ttpartners.com
"Richard Ji" <rji_at_exenet.c To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> om> cc: Sent by: Fax to: root_at_fatcity. Subject: RE: How to prevent oracle from committing a transaction? com 06/05/2001 01:20 PM Please respond to ORACLE-L
No Oracle doesn't do commits for checkpoint, log switch or shutdown normal.
It will only commit data explicitliy (using the commit command) or
implicitly (DDL).
SQL*PLUS by default auto commits for you if you just exit after doing some
DML.
But you can turn that off.
Richard Ji
>>> Mike.J.Kurth_at_aexp.com 06/05/01 11:47AM >>>
Wait a minute here.
Why would oracle do a commit on your transaction just because it needs to do a checkpoint, logfile switch, or shutdown?
What if errors occur during validation?
Do you think Oracle will commit the data anyways?
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Mike J Kurth INET: Mike.J.Kurth_at_aexp.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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.com -- Author: Richard Ji INET: rji_at_exenet.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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.com -- Author: INET: Diana_Duncan_at_ttpartners.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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 Tue Jun 05 2001 - 13:15:31 CDT