Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Trigger MySQL

New Here ,
Apr 07, 2011 Apr 07, 2011

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,

TOPICS
Server side applications
395
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 15, 2011 Apr 15, 2011
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines