当前位置:Gxlcms > 数据库问题 > 解决Oracle在scott用户下创建视图(VIEW)权限不足的方法

解决Oracle在scott用户下创建视图(VIEW)权限不足的方法

时间:2021-07-01 10:21:17 帮助过:2人阅读

   print?
  1. sqlplus / as sysdba  
  • 赋予scott用户创建VIEW的权限 [sql] view plain copy    print?
    1. grant create view to scott  
  • 以scott用户登录oracle [sql] view plain copy    print?
    1. conn scott/tiger  
  • 创建视图成功 [sql] view plain copy    print?
    1. CREATE OR REPLACE VIEW myview AS  
    2.     SELECT * FROM emp where deptno = 20; 
  • 解决Oracle在scott用户下创建视图(VIEW)权限不足的方法

    标签:

    人气教程排行