首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >插入中的ORA-01031

插入中的ORA-01031
EN

Stack Overflow用户
提问于 2012-03-06 20:58:04
回答 2查看 3.1K关注 0票数 2

我在sql developer中获得ORA-01031的同义词上运行insert查询,我们只能通过同义词访问几乎所有的表,但只有模式中的这一个给出了ORA-0103错误。请指点一下。

代码语言:javascript
复制
Error report: SQL Error: ORA-01031: insufficient privileges
01031. 00000 -  "insufficient privileges"
*Cause:    An attempt was made to change the current username or password
           without the appropriate privilege. This error also occurs if
           attempting to install a database without the necessary operating
           system privileges.
           When Trusted Oracle is configure in DBMS MAC, this error may occur
           if the user was granted the necessary privilege at a higher label
           than the current login.
*Action:   Ask the database administrator to perform the operation or grant
           the required privileges.
           For Trusted Oracle users getting this error although granted the
           the appropriate privilege at a higher label, ask the database
           administrator to regrant the privilege at the appropriate label.
EN

回答 2

Stack Overflow用户

发布于 2012-03-06 21:05:40

你有没有执行过类似这样的东西:

代码语言:javascript
复制
GRANT select, insert, update, delete on Table to your_synonym_user;

并且此行应该由表所有者或具有该权限的用户执行。

票数 3
EN

Stack Overflow用户

发布于 2012-03-06 21:00:59

它看起来很可能是您对基础表或同义词的权限不足,或者您的密码可能已过期?

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9584175

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档