How in MySQL I get auto-increment field value of last record ? what if I delete a record and I want to get field's (auto-increment) value of last record ? It will still counts the autoincrement from the point left even if I delete records or the last record ? how I count all records currently in DB Table ?


Reply With Quote



While I was waiting for an answer, I've started a simple test to see, how this finding works... Already have 190 000 rows and the searching of the last index takes not much than some milliseconds. Nice work this MySQL...

Bookmarks