我在sql developer中获得ORA-01031的同义词运行插入查询,我们只通过同义词访问几乎所有表,但只有架构中的这个表给出了ORA-0103错误。请指导。
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.
答案 0 :(得分:3)
你执行的是:
GRANT select, insert, update, delete on Table to your_synonym_user;
此行应由表所有者或具有该权限的用户执行。
答案 1 :(得分:0)
它看起来非常像您对基础表或同义词不足的权限,或者您的密码可能已过期?