(其他用户以此类推)
解决方法:
以dba用户登录
[sql]
sqlplus / as sysdba
赋予scott用户创建VIEW的权限
[sql]
grant create view to scott
以scott用户登录oracle
[sql]
conn scott/tiger
创建视图成功
[sql]
CREATE OR REPLACE VIEW myview AS
SELECT * FROM emp where deptno = 20;
更多文章请关注《万象专栏》
转载请注明出处:https://www.wanxiangsucai.com/read/cv140429