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

Trigger MySQL

New Here ,
Apr 07, 2011 Apr 07, 2011

Copy link to clipboard

Copied

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

Views

394
Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Report

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