MySQL Forums
Forum List  »  Triggers

Re: Trigger to update other table produces error 1442
Posted by: Simon Giddings
Date: August 13, 2011 06:07AM

Hi Peter,

Thank you for taking the time and trouble to answer.

Ok, the first trigger works correctly when put into MySql without raising any warnings or errors (using version 5.0.24 community version).

To answer your question about the reference to client_std.
If you take another look at the brief table spec I gave, you will see that the tables form a chain :
client_prem -> client_std ->client
So, if I want to update client when client_prem is updated, I need to use the chain.

Can you advise as to the correct way to handle this please ?
Simon

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Trigger to update other table produces error 1442
1318
August 13, 2011 06:07AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.