ORA-01031 во вставке - PullRequest
       17

ORA-01031 во вставке

2 голосов
/ 06 марта 2012

Я выполнял запрос вставки для синонима. Я получил ORA-01031 в SQL-разработчике. Мы обращаемся почти ко всем таблицам только через синоним, но только эта схема вызвала ошибку 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.

Ответы [ 2 ]

3 голосов
/ 06 марта 2012

вы выполнили что-то вроде:

GRANT select, insert, update, delete on Table to your_synonym_user;

, и эта строка должна быть выполнена владельцем таблицы или пользователем с таким разрешением.

0 голосов
/ 06 марта 2012

Очень похоже, что у вас есть права либо для базовой таблицы, либо синоним недостаточен, либо, возможно, истек срок действия вашего пароля?

...