Field Description information_schema.triggers in mysql

1. Get all trigger information (TRIGGERS)

* The FROM INFORMATION_SCHEMA.TRIGGERS the WHERE the SELECT  TRIGGER_SCHEMA = 'database name'; TRIGGERS Table: Provides information about all triggers. Detailed representation of a trigger belongs to which table. Fields are as follows:
 
 
Field meaning
trigger_schema Name of the database trigger occurs
trigger_name Trigger name
event_manipulation Triggering event. This is the type of operation on the associated table trigger trigger. Value   'INSERT' (insert rows),   'DELETE' (deleting rows) or   'UPDATE' (modified line)
event_object_schema Trigger database
event_object_table Trigger Table
action_statement Triggering statement
action_timing Trigger timing. Value   'BEFORE' or  'AFTER'
definable definable Create a trigger user account    format.'user_name'@'host_name'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
reference:
https://blog.csdn.net/BlingZeng/article/details/89352073
 
 
 
 
Disclaimer: This blog is a personal learning, as with other similar works, is purely coincidental, reproduced, please indicate the source!
  

Guess you like

Origin www.cnblogs.com/zhihuifan10/p/12124912.html