日期:2014-05-17  浏览次数:20797 次

创建视图时一个奇怪的错误。
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中的逗号换成点.