MySQL Forums
Forum List  »  Triggers

Re: Autoincrement ID copied by trigger
Posted by: Dave Banthorpe
Date: March 30, 2015 01:33PM

BTW - I just copied the CREATE statement to show the table structure. The AUTO_INCREMENT Value for the target table gets automatically set by the trigger process. even if I set it back to 1, the next time a record comes in and the trigger fires, it sets this to the same value as the source table.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Autoincrement ID copied by trigger
1168
March 30, 2015 01:33PM


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.