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是肯定存在的。

解决方案 »

  1.   

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

  2.   

    create or replace view myview?
    myview在数据库中是不存在的。
    而且是指示最后一个表T5不存在,我把T5移到前面,T4移到后面,它又报T5不存在。
      

  3.   

    问题已解决。应该是权限的问题:
    我重新给这个用户授权,给了create view以及对每个表的select权限。创建视图成功了。