set autocommit off (in sqlplus)

and i'm not sure but cant you set this to be the default to happen in some
glogin.sql file ?

-----Original Message-----
Sent: 05 June 2001 08:30
To: Multiple recipients of list ORACLE-L


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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
01285 884400.


This message is intended only for the use of the person(s) (the "intended recipient 
(s)") to whom it is addressed.
It may contain information which is privileged and confidential. 
If you are not the intended recipient, please contact the sender as soon as possible.
The views expressed in this communication may not necessarily be the views of InterX 
plc.
Any copyright in this message shall remain vested in InterX plc © and the intended 
recipient may only copy the same for internal business purposes or as otherwise stated 
in this message.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Vipul Lakhani
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to