我有一个有点简单UPDATE...WHERE EXISTS...
的表。Oracle(通过所有其他客户端工具)但会立即(无延迟)返回 ORA-03113,指示可能存在连接问题等。我直接在数据库盒上运行它。
这个实例已经启动、运行并且很开心。我可以发出任何 SQL 和复杂的程序,并且有几十个模式是可操作的。这只是一个特定的 SQL 语句。
会是什么呢?如何发现?
$ sqlplus user/pass
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Mar 28 13:04:38 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from dual;
D
-
X
SQL> update foo_a a
2 set a.field0 = (
3 select b.bar
4 from foo_b b
5 where b.custom_no = 0
6 and b.csf_id = a.id
7 ) , a.updated_on = current_timestamp
9 where exists (
8 select 1
10 from foo_b c
11 where c.custom_no = 0
12 and c.csf_id = a.id
13 );
update foo_a a
*
ERROR at line 1:
ORA-03113: end-of-file on communication channel
SQL>