sqlplus 中exit 命令的隐式commit

C:>sqlplus scott/aaaaaa

SQL*Plus: Release 11.1.0.6.0 - Production on Fri Aug 19 10:27:42 2011

Copyright (c) 1982, 2007, Oracle. All rights reserved.


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

SQL> desc scott.dept
Name Null? Type
----------------------------------------- -------- ----------------------------

DEPTNO NOT NULL NUMBER(2)
DNAME VARCHAR2(14)
LOC VARCHAR2(13)

SQL> select *from dept;

DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON

SQL> update dept set dname='sales_kao' where deptno='30';

1 row updated.

SQL> exit

Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Pr
oduction
With the Partitioning, OLAP, Data Mining and Real Application Testing options

C:>sqlplus scott/aaaaaa

SQL*Plus: Release 11.1.0.6.0 - Production on Fri Aug 19 10:28:39 2011

Copyright (c) 1982, 2007, Oracle. All rights reserved.


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

SQL> select *from dept;

DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 sales_kao CHICAGO
40 OPERATIONS BOSTON

SQL>[@more@]
请使用浏览器的分享功能分享到微信等