lundi 26 janvier 2015

Android , SQLite find the first empty row

How can I find the first insertable rowid of SQLite?


As you know if you delete the last row (for example rowId = 10), and insert a record again, it will get the next id (rowId = 11).


So I'm not looking for the last rowId that is inserted or it's next one,just first insertable one.Thanks.


Aucun commentaire:

Enregistrer un commentaire