1. 程式人生 > >oracle 創建view時,授權給用戶

oracle 創建view時,授權給用戶

pla ott ger ron clas create 創建 reat grant

解決方法

    1. 以dba用戶登錄
      1. sqlplus / as sysdba
    2. 賦予scott用戶創建VIEW的權限
      1. grant create view to scott
    3. 以scott用戶登錄oracle
      1. conn scott/tiger
    4. 創建視圖成功
      1. CREATE OR REPLACE VIEW myview AS

oracle 創建view時,授權給用戶