問題:scott用戶匯入dmp檔案,提示沒有DBA權限,
解決方法:
1.授予dba角色權限:
grant dba to scott;
2.匯入資料:
imp scott/1234@myDB file=G:\ac43_620.dmp full=y
3.取消dba角色權限:
revoke dba from scott;
另外,scott賬戶本來是鎖定的,
鎖定賬戶:
alter user scott account lock;
解鎖賬戶:
alter user scott account unlock;
修改scott的登錄密碼:
alter user scott identified by tiger;
授予連接權限:
grant connect to scott;
授予創建表等基本權限:
grant resource to scott;
授予使用空間權限:
grant unlimited on tablespace to scott;alter user scott quota unlimited on tablespace_name;
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/7313.html
標籤:Oracle
上一篇:Win10安裝Oracle 11g后解決sqldeveloper缺少快捷方式的問題
下一篇:Oracle詳細使用
