SQLite Forum

Retrieve a record and delete it
Login
We want to retrieve a record and immediately delete it

We are concerned that as we are reading it, another process may be reading it too (before we delete it)

Is there a way to lock the DB from the time we grab the record until we delete this record ?