ORA-01950: no privileges on tablespace 'USERS'--解決辦法

ERROR at line 1:
ORA-01950: no privileges on tablespace 'USERS'

原因:在表空間“USERS”無權限

解決辦法:

用戶登錄,查看當前用戶所屬表空間:select username,default_tablespace from dba_users;

修改表空間:alter user username quota umlimited  on  tablespacename;

或者  grant  resource to username 也可以

因爲 grant resource to username 時 自動獲得了有unlimited tablespace的系統權限


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章