Oracle SQL - 无法插入行

时间:2012-12-21 20:21:00

标签: sql oracle privileges tablespace

我有一个新创建的表。当我试图插入它时,我得到..

SQL Error: ORA-01950: no privileges on tablespace 'ADMINISTRATOR'
01950. 00000 -  "no privileges on tablespace '%s'"
*Cause:    User does not have privileges to allocate an extent in the
           specified tablespace.
*Action:   Grant the user the appropriate system privileges or grant the user
           space resource on the tablespace.

为了解决这个问题,我尝试了几件事......

GRANT UNLIMITED TABLESPACE TO MY_TABLE;


grant RESOURCE,CONNECT,UNLIMITED TABLESPACE to USER_NAME;


alter user "USER_NAME"  
quota unlimited on "ADMINISTRATOR"

......但错误仍然存​​在。造成这种失败的原因是什么?如何解决?

1 个答案:

答案 0 :(得分:0)

试试这个

更改数据库数据文件'/u01/app/oracle/your_tablespace_datafile_name.dbf'在maxsize unlimited上自动扩展;