Skip to content
Advertisement

Creating a trigger inside another trigger. ORA-00604: error occurred at recursive SQL level 1

I’m trying to create a DDL trigger AFTER CREATE which would make another trigger when called.

So I wrote some test code, here it is:

But I get the following error when trying to create table People:

Although if I create that trigger (People_Trigger) outside the Test_Trigger, it works fine.

Advertisement

Answer

I have done the following exercise and found that error is thrown when there are not sufficient privileges(Create trigger).

Output of last query

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement