In this post, I am sharing a script to find last updated AUTO_INCREMENT of a MySQL Table. We use LAST_INSERT_ID() function to get the last updated AUTO_INCREMENT value for the particular running session. We can use this with any code block and it will return last updated AUTO_INCREMENT value of the last executed statement. Database […]