Quantcast
Channel: Oracle Database&EBS General – HELIOS BLOG
Viewing all articles
Browse latest Browse all 138

Getting ORA-01031: insufficient privileges while try to create trigger on 19c

$
0
0

I face with this error on Oracle19c database. My user has sysdba and also dba grant with create any trigger privilege.

Complete message is:

conn myuser/mypass@DB_SID

SQL> create or replace trigger xxxx
begin
null;
end;
create or replace trigger xxxx
*
ERROR at line 1:
ORA-01031: insufficient privileges

This is an expected behavior.

In 12.2 , direct grant of “administer database trigger” is needed for the trigger owner.

SOLUTION

Grant “administer database trigger” privilege to your user directly.The operation will be succeeds.

SQL>grant administer database trigger to myuser;


Viewing all articles
Browse latest Browse all 138

Trending Articles