【问题标题】:Can't insert a row ORA-01950: no privileges on tablespace无法插入行 ORA-01950: 对表空间没有权限
【发布时间】:2016-07-20 23:42:15
【问题描述】:

甲骨文 11G

我将所有权限授予用户

ALTER USER CWS_APP quota unlimited on CWS_APP;
grant RESOURCE,CONNECT,UNLIMITED TABLESPACE to CWS_APP;

但仍然无法在表格中插入一行:

insert into CWS_RULES.pr4_base(pzinskey, pxcommitdatetime) values('abc',sysdate)
Error report -
SQL Error: ORA-01950: no privileges on tablespace 'CWS_RULES'
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.

【问题讨论】:

    标签: oracle11g


    【解决方案1】:

    对象的所有者拥有数据并且需要在适当的表空间中具有适当的配额。导致插入的用户不相关。这是一件好事——如果 Oracle 必须跟踪特定表中的哪些行被特定用户插入以仅将这些行计入其配额,那将是一件非常痛苦的事情。

    该表归cws_rules 所有。因此cws_rules 用户需要在cws_rules 表空间上有足够的配额来容纳数据。 cws_app 拥有什么配额并不重要,因为它不拥有数据。

    【讨论】:

      猜你喜欢
      • 2014-03-07
      • 1970-01-01
      • 1970-01-01
      • 2021-05-06
      • 2011-07-16
      • 2015-03-12
      • 2018-05-30
      • 1970-01-01
      • 2012-05-21
      相关资源
      最近更新 更多