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

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -