How can i run a sql statement on a sqlite database (in android) and get the result of the query? I need to know for sure if the query was executed or not.
I came up with :
db.execSQL(sql);
but this is a void function.
I get the query_string from a database so i don’t know is is a insert or update or delete statement. I know for sure that it will not be a select statement.
Try something like this: