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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to prevent oracle from committing a transaction?

Re: How to prevent oracle from committing a transaction?

From: Greg Moore <sqlgreg_at_pacbell.net>
Date: Tue, 05 Jun 2001 02:34:41 -0700
Message-ID: <F001.0031B92B.20010605020251@fatcity.com>

> > Can you tell me how to prevent oracle from
> > committing a transaction unless unless
> > I explicitly commit it.

To do what you are asking, exit sql*plus with the command:

exit rollback

This will exit you from sql*plus and it will prevent Oracle from committing a transaction unless you have already explicitly committed it.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Greg Moore
  INET: sqlgreg_at_pacbell.net

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 - 04:34:41 CDT

Original text of this message

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