sql - Oracle: Disable a constraint inside a trigger -


sorry for annoying with a possible stupid question "itemprop =" text "> after

All DDL statements make the 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.

/ P>

  declared pragma AUTONOMOUS_TRANSACTION. Perform instant 'execution table SESSION_LOGGING ......';    

Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

c# - Textbox not clickable but editable -

Matlab transpose a table vector -