MySQL Forums
Forum List  »  Triggers

Re: Trigger
Posted by: Peter Brawley
Date: November 20, 2013 09:12PM

... Identity ... syntax is specific to SQL Server, doesn't work in MySQL, use auto_increment.

In an update trigger, OLD.colname returns the value of colname in the current row.

The manual page for Triggers has helpful examples.

Options: ReplyQuote


Subject
Views
Written By
Posted
1846
November 20, 2013 07:26PM
Re: Trigger
1062
November 20, 2013 09:12PM


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.