mysqli - querying the last inserted data in sql with huge data -


i have profile table object id primary. using script import lacks of users profile table. convenience tracking object id range getting inserted in table. problem data gets inserted in random manner , not able track last object id inserted. have tried

select * managed_profile order objectid desc limit 1,1; 

the issue is giving last data inserted.

please me in this.

maybe add column timestamp , use in sql order time?


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -