Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to prevent oracle from committing a transaction?
Keep in mind that if at any point you issue any DDL command, a commit is automatically performed. For example, if you open a SQL*Plus session, insert a few records, then do an "alter table ...", those records will be committed.
Just a thought...
Jim
-- Jim Hawkins Lead SAPR/3 Oracle Database Administrator MEMC Electronic Materials, Inc. 600 Pearl Drive St. Louis, MO 633376 9636) 474-7832 jhawkins_at_memc.com (work) jhawkins_at_primary.net (home)Received on Tue Jun 05 2001 - 08:51:34 CDT
> Dear DBA Gurus,
>
> Can you tell me how to prevent oracle from committing a transaction
unless
> I explicitly commit it. I have observed that when I insert a record into
a
> table and type exit from the sql prompt without commiting the transaction
> and again open a new sqlplus session and select from that particular table
> the record is inserted. How do I prevent oracle from inserting into a
table
> unless I explicitly specify commit? Please note that I have set my
sqlplus
> session as autocommit off. I tried with alter table <tablename> nologging
> but it didn't do what I wanted. Can anybody help me in this regard?
>
> TIA and Regards,
>
> Ranganath
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Ranganath K
> INET: ranganathk_at_subexgroup.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: Jim Hawkins INET: jhawkins_at_primary.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).
![]() |
![]() |