Oracle 創建存儲過程 提示權限不足或者提示表和視圖不存在問題


grant create view to hospital;

--授予查詢權限
grant select any table to hospital;

--授予權限
grant select any dictionary to hospital;


grant SELECT ON Yfgl_YPRuKuDan to hospital;
grant SELECT ON Yfgl_YPRukudanmx to hospital;

 

ORA-01031:權限不足的問題
在 腳本更新時,報錯:ORA-01031: 權限不足。
grant connect,resource,dba to hospital;
賦權DBA之后,還有這個錯誤。
執行 grant all privileges to hospital;
賦予任何主機訪問數據的權限,問題得到了解決。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM