This may sound very simple and off the track, but any help will be highly appreciated. How can we execute raw UPDATE command of SQLite in Android just like we can execute rawQuery(.., ). We have SQLiteDatabase.update( ) but how to run a raw update like
UPDATE STATS SET TEMP_F = 74.9
WHERE ID = 44
AND MONTH = 7;
The perferred method is to use the SQLiteDatabase convenience class "update"
update(String table, ContentValues values, String whereClause, String[] whereArgs)
examples: