Skip to content Skip to sidebar Skip to footer

Update All Rows In A Column To New Value

Apologies, I am sure this has been asked plenty of times but I have searched around for a good example and haven't been able to find one. I'd like to run a method to insert a value

Solution 1:

If you want to update all rows you have to remove the where clause. In your example you should remove Students.STUDENT_ID+"="+ id, from db.update(Students.TABLE, cv, Students.STUDENT_ID+"="+ id, null);


Post a Comment for "Update All Rows In A Column To New Value"