SQL> conn scott/scott@test;
Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
Connected as scott
SQL> drop table t;
Table dropped
SQL> create table t as select * from emp;
Table created
SQL> create user terry identified by terry;
User created
SQL> grant connect,dba to terry;
Grant succeeded
SQL> conn terry/terry@test;
Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
Connected as terry
SQL> create synonym t for scott.t;
Synonym created
SQL> truncate table t;
truncate table t
ORA-00942: 表或视图不存在
SQL> truncate table scott.t;
Table truncated
在asktom论坛上也找到了tom的确定,但没有具体的原因。
http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1458414958491
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26451536/viewspace-755926/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26451536/viewspace-755926/