当前位置: 代码迷 >> Oracle管理 >> 创建视图时一个奇怪的异常
  详细解决方案

创建视图时一个奇怪的异常

热度:6   发布时间:2016-04-24 05:48:13.0
创建视图时一个奇怪的错误。
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中的逗号换成点.
  相关解决方案