读书人

表或视图不存在,创建视图时错误。

发布时间: 2014-01-28 21:22:56 作者: rapoo

Oracle 9.2
create view myview as
select t1.colum1,t2.coloum2,t3,colum3
from
t1,t2,t3,t4,t5
where
conditions
出现 “表或视图不存在”的错误。
其中:
select t1.colum1,t2.coloum2,t3,colum3
from
t1,t2,t3,t4,t5
where
conditions
单独执行都可以通过,表t1,t2,t3,t4,t5是肯定存在的。




------解决方法--------------------------------------------------------
try:

create or replace view myview as
select t1.colum1,t2.coloum2,t3,colum3
from
t1,t2,t3,t4,t5
where
conditions

------解决方法--------------------------------------------------------
t3,colum3中的逗号换成点.

        

读书人网 >oracle

热点推荐