MySQL Forums
Forum List  »  Triggers

Re: LAST_INSERT_ID ia a AFRTER INSERT trigger
Posted by: Peter Brawley
Date: October 01, 2018 05:44PM

By writing a little test after-insert trigger on any table you can easily prove that last_insert_id() in that context returns 0.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: LAST_INSERT_ID ia a AFRTER INSERT trigger
186
October 01, 2018 05:44PM


Sorry, only registered users may post in this forum.

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.