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

Home -> Community -> Mailing Lists -> Oracle-L -> sql*plus autocommit and exit

sql*plus autocommit and exit

From: Sami Seerangan <dba.orcl_at_gmail.com>
Date: Mon, 15 Aug 2005 14:33:14 -0400
Message-ID: <f09dd62805081511333e2d0d@mail.gmail.com>


Hi:

I have a autocommit value set to OFF however when I exit from SQL*Plus it commits the transaction.
Is it a expected behavior?

SQL> show auto
autocommit OFF

SQL> delete from t1;
48601 rows deleted.

SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0- Pr oduction
With the Partitioning, OLAP and Data Mining options C:\Documents and Settings\s397131\Desktop>sqlplus sami/sami SQL*Plus: Release 10.1.0.2.0 - Production on Mon Aug 15 14:29:05 2005 Copyright (c) 1982, 2004, Oracle. All rights reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production With the Partitioning, OLAP and Data Mining options

SQL> select count(*) from t1;

 COUNT(*)



 0

SQL> show auto
autocommit OFF
SQL>
--

http://www.freelists.org/webpage/oracle-l Received on Mon Aug 15 2005 - 14:12:45 CDT

Original text of this message

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