MySQL Trigger – after insert trigger

I want to populate automaticaly another table when new data is inserted: For table “source_table” define a after insert trigger

The “NEW” alias contains all inserted fields into table “source_table”; After “insert” event on table “source_table”, we set the

mysql: –i-am-a-dummy

This option prevents MySQL from performing update operations unless a key constraint in the WHERE clause and / or a LIMIT clause are provided.

For beginners, a useful startup option is –safe-updates (or –i-am-a-dummy, which has the same effect).