|
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> conn test/test
已连接。
SQL> select * from tab;
TNAME TABTYPE CLUSTERID
------------------------------ ------- ----------
COUNTRIES TABLE
DEPARTMENTS TABLE
EMPLOYEES TABLE
JOBS TABLE
JOB_GRADES TABLE
JOB_HISTORY TABLE
LOCATIONS TABLE
REGIONS TABLE
EMPVU20 VIEW
EMPVU10 VIEW
已选择10行。
SQL> create table t (col number);
表已创建。
SQL> insert into t select 1 from dual;
已创建 1 行。
SQL> commit;
提交完成。
SQL> update t set col =2;
已更新 1 行。
SQL> commit
2 ;
提交完成。
session2时
SQL> conn test/test
已连接。
SQL> update t set col=3;
请问下,在session最后的commit未提交时,我session处于锁的状态? |
|