Syntax for Creating a Trigger : After Trigger « Trigger « SQL / MySQL






Syntax for Creating a Trigger

      

CREATE TRIGGER name BEFORE|AFTER INSERT|UPDATE|DELETE ON tablename FOR EACH ROW code

   
    
    
    
    
    
  

Related examples in the same category

1.Log information into a log table in the after delete trigger
2.Insert information to a log in the AFTER UPDATE trigger