mercredi 12 août 2015

Multiple Insert or Replace Query in Android SQLite

I am using below query to insert or replace "number" and "time" in "Contacts" table. Is there any way I can insert or replace multiple record in SQLite for Android?

"Insert or replace into Contacts (_id, number, status) values ((select _id from Contacts where number = '123456'), '123456','sent');"

Aucun commentaire:

Enregistrer un commentaire