Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

delete data from database sqlite android

/*Put this in your DAO or in your activity*/

public void delete(int yourvariable){  /*<-----Note: I used Int but you can use what variable you want*/
  db.delete("yourtablename","yourcolumntodothewhere=" + yourvariable ,null);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #data #database #sqlite #android
ADD COMMENT
Topic
Name
3+3 =