I've tried this code to update all my values in column sync to 0...
How can I solve this issue?
public boolean updatesync()
db.rawQuery("update patients set sync = '0'",null);
execSQL() instead of
rawQuery() just compiles the SQL but does not execute it until the returned
Cursor is moved.
execSQL() both compiles and executes the SQL.