ORA-01950: no privileges on tablespace 'USERS'-- 解决办法

ORA-01950: no privileges on tablespace 'USERS'
 
原因: 在表空间 “USERS” 无权限
解决办法:
 
用户登录,查看当前用户所属表空间:select 用户名,default_tablespace from dba_users;
修改表空间:alter user username quota umlimited  on  tablespacename;

或者  grant  resource to username 也可以

因为 grant resource to username 时 自动获得了有 unlimited tablespace 的系统权限

 

posted @ 2022-08-24 14:25  我真的兔了  阅读(606)  评论(0编辑  收藏  举报