oracle ORA-01950: 对表空间 'USERS' 没有权限
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21671008/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
ORA-01950: no privileges on tablespace 'USERS'
提问by sam
I'm getting this error:
我收到此错误:
ORA-01950: no privileges on tablespace 'USERS'
ORA-01950: 对表空间 'USERS' 没有权限
I have a default tablespace and I'm able to create tables, however, they do not show at the objects tab in Toad. I cannot insert anything into tables I create.
我有一个默认表空间,我可以创建表,但是,它们不会显示在 Toad 的对象选项卡中。我无法在我创建的表中插入任何内容。
回答by Frank Schmitt
You cannot insert data because you have a quota of 0 on the tablespace. To fix this, run
您无法插入数据,因为您在表空间上的配额为 0。要解决此问题,请运行
ALTER USER <user> quota unlimited on <tablespace name>;
or
或者
ALTER USER <user> quota 100M on <tablespace name>;
as a DBA user (depending on how much space you need / want to grant).
作为 DBA 用户(取决于您需要/想要授予多少空间)。