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;
賦予任何主機訪問數據的權限,問題得到了解決。