From oracle-l-bounce@freelists.org Mon Aug 15 16:19:23 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j7FLJNF9021051 for ; Mon, 15 Aug 2005 16:19:23 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j7FLJ6IP021013 for ; Mon, 15 Aug 2005 16:19:10 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D6C691DDE95; Mon, 15 Aug 2005 15:16:22 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18987-01; Mon, 15 Aug 2005 15:16:22 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 4944B1DDCB9; Mon, 15 Aug 2005 15:16:22 -0500 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5A1D5.E9B4B020" Subject: RE: sql*plus autocommit and exit Date: Mon, 15 Aug 2005 16:14:17 -0400 Message-ID: <4001DEAF7DF9BD498B58B45051FBEA6502BE5618@25exch1.vicorpower.vicr.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: sql*plus autocommit and exit Thread-Index: AcWhzVqwPn870PdxQRywil0zTWG8ZgACHXoA From: "Goulet, Dick" To: , "oracle-l" X-OriginalArrivalTime: 15 Aug 2005 20:14:17.0208 (UTC) FILETIME=[E9C5AF80:01C5A1D5] X-archive-position: 24000 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: DGoulet@vicr.com Precedence: normal Reply-To: DGoulet@vicr.com X-list: oracle-l X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net X-mailscan-MailScanner-Information: Please contact the ISP for more information X-mailscan-MailScanner: Found to be clean X-MailScanner-From: oracle-l-bounce@freelists.org X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on air891.startdedicated.com X-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,HTML_50_60, HTML_FONTCOLOR_BLUE,HTML_MESSAGE autolearn=no version=2.63 ------_=_NextPart_001_01C5A1D5.E9B4B020 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Yes, for a VERYYYYYYYYYYY long time now, like back to 1985 (V3) as I remember. _____ =20 From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of Sami Seerangan Sent: Monday, August 15, 2005 2:33 PM To: oracle-l Subject: sql*plus autocommit and exit 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 - Production 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>=20 ------_=_NextPart_001_01C5A1D5.E9B4B020 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Yes, for a VERYYYYYYYYYYY long time now, like = back to 1985=20 (V3) as I remember.


From: oracle-l-bounce@freelists.org=20 [mailto:oracle-l-bounce@freelists.org] On Behalf Of Sami=20 Seerangan
Sent: Monday, August 15, 2005 2:33 PM
To:=20 oracle-l
Subject: sql*plus autocommit and = exit

Hi:

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

SQL> show = auto
autocommit = OFF

SQL> delete from = t1;48601 rows = deleted.SQL> exitDisconnected from Oracle = Database 10g=20 Enterprise Edition Release 10.1.0.2.0 - ProductionWith the Partitioning, OLAP = and Data=20 Mining options
C:\Documents and=20 Settings\s397131\Desktop>sqlplus sami/samiSQL*Plus: Release = 10.1.0.2.0 -=20 Production on Mon Aug 15 14:29:05 2005Copyright (c) 1982, 2004,=20 Oracle.  All rights reserved.Connected to:Oracle Database 10g = Enterprise=20 Edition Release 10.1.0.2.0 - ProductionWith the Partitioning, OLAP = and Data=20 Mining options
SQL> select count(*) = from=20 t1;
  COUNT(*)----------        =20 0
SQL> show auto
autocommit OFFSQL> = ------_=_NextPart_001_01C5A1D5.E9B4B020-- -- http://www.freelists.org/webpage/oracle-l