Jump to content

Mysql Triggers!


rameshfaj

Recommended Posts

I have a table say table1 which has fields like field1t1,field2t1.......................

and another table say table2 which has fileds like field1t2,field2t2..............

Now I have to write a trigger such that every entry/insert in the table1 which has the fieldt1 with value 0(and not for other values),will insert a value in the table2.

 

Now can I do this?Can anyone help me?

Link to comment
https://forums.phpfreaks.com/topic/108499-mysql-triggers/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.