In Android I’m using the following statement:
return bdd.rawQuery("SELECT * FROM " + TABLE_EVENTS , new String[]{"titre","emplacement"});
and it throws the error:
android.database.sqlite.SQLiteException: bind or column index out of range: handle 0x3e1360
You cannot use the
selectionArgsparameter without using the same number of?s in the WHERE clause of your query. I’m guessing that you want: