我想创建一个视图,并将问题提炼到无法创建引用来自不同架构的表的视图。Oracle:跨模式创建视图?
例如,我可以这样做:
select count(*) from otherschema.othertable;
,我可以这样做:
create view foo as select count(*) as bar from oneofmytables;
但如果我尝试:
create view foo as select count(*) as bar from otherschema.othertable;
我得到一个 “权限不足” 的错误。我需要什么额外的权限?
这两个很好,正确的答案,但我选择了这一个,因为它很容易让我来验证问题。谢谢! – chris 2011-02-01 13:41:01