Insufficient Privileges Error while creating a Instead of Trigger

二次信任 提交于 2020-01-23 19:22:38

问题


I have a view on which i need to create a Trigger whenever there is an insert action on the view. When i try to create a Instead of Trigger, i get an error saying that i have insufficient Privileges. Isn't it that when i create a trigger, select privileges are enough? If not, what are the privileges required to create this Trigger.

Thanks


回答1:


To create a trigger in your own schema on a table in your own schema or on your own schema (SCHEMA), you must have the CREATE TRIGGER system privilege.

http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_7004.htm



来源:https://stackoverflow.com/questions/13468061/insufficient-privileges-error-while-creating-a-instead-of-trigger

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!