Skip to main content
Known Participant
April 8, 2011
Question

Trigger MySQL

  • April 8, 2011
  • 1 reply
  • 424 views

Hello guys,

I have a table called "Customers" and another table with the exact same structure called "info"

If I delete a record from "Customers" I would like to insert that record into "Info", I know I can do that using triggers but I do not know how to implement that. Does someone has an idea?

Regards,

This topic has been closed for replies.

1 reply

Participating Frequently
April 16, 2011

Have you referred to the MySQL reference manual? It's all spelled out pretty clearly there:

http://dev.mysql.com/doc/refman/5.0/en/triggers.html