I have a query that runs the last_insert_id against a table, but recently every time this is run it returns the same value. This value is incorrect as a record is written to the database prior to this query running. Is there a way to somehow rebuild the data that last_insert_ID uses?
↧