sql - Oracle: Disable a constraint inside a trigger -
sorry for annoying with a possible stupid question "itemprop =" text "> after
All DDL statements make the / P> create /
ALTER issue before an implicit and after the statement. We do not have permission to issue
commit or
rollback in a trigger, so DDL can not be used in the trigger. Accordingly, you can do something similar to the following in order to execute a
ALTER statement in the trigger, but it is not recommended at all and is not a bad practice well.
declared pragma AUTONOMOUS_TRANSACTION. Perform instant 'execution table SESSION_LOGGING ......';
Comments
Post a Comment