您的位置:首页 > 其它

ORA-01950: no privileges on tablespace 'USERS'错误

2012-11-10 15:18 561 查看
sys用户

SQL> create user etl identified by *****;

User created.

SQL> grant create session to etl;

Grant succeeded.

SQL> grant sysdba to etl;

Grant succeeded.

SQL> grant create any table to etl;

Grant succeeded.

etl用户:

SQL> create table test(A varchar2(100));

create table test(A varchar2(100))

ORA-01950: no privileges on tablespace 'USERS'

etl用户在users表空间没有权限,需要给etl用户在users表空间分配配额。

sys用户:

GRANT
UNLIMITED TABLESPACE TO etl;

或者:

alter user youruser quota 100m on users;

etl用户:

SQL>
create table test(A varchar2(100));

Table created
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: