Question

When I try to create a trigger in schema A for a table located in schema B, I get an ora error : insufficient privileges.

What privileges do I need?

Was it helpful?

Solution

If you are creating the trigger in your schema, you'll need the CREATE TRIGGER privilege. In order to create the trigger in somebody else's schema, you'll need the CREATE ANY TRIGGER privilege.

This resource does a very good job of explaining the requirements, and contains more information about triggers (syntax, enabling, disabling, etc).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top