I'm trying to execute DDL from within a trigger but get a ora 4092 cannot commit within a trigger error.
Basically the table that the trigger resides on holds details of Oracle profiles as the table is inserted / updated / deleted the trigger captures the change and then builds the appropriate dynamic SQL to Create / change / delete the actual Oracle profile.
Does anyone know of away around this problem? Is there a DBMS Package that I can use???
Thanks,
Mike.
Basically the table that the trigger resides on holds details of Oracle profiles as the table is inserted / updated / deleted the trigger captures the change and then builds the appropriate dynamic SQL to Create / change / delete the actual Oracle profile.
Does anyone know of away around this problem? Is there a DBMS Package that I can use???
Thanks,
Mike.