How do I create tables not “owned by sys” in Oracle?

后端 未结 2 552
既然无缘
既然无缘 2021-01-18 04:09

I tried to create a trigger:

create trigger afterupdate 
after insert on friends
for each row 


begin 
dbms_output.put_line(\'hello world\');
end afterupdat         


        
2条回答
  •  清歌不尽
    2021-01-18 05:06

    I think this is privilege issue . You are trying to create a trigger on table which is in SYS schema and you dont have privileges for doing so.

    Please go to SYS schema and provide the user with privileges to create a trigger on the table.

提交回复
热议问题