android.database.sqlite.SQLiteException: near "/": syntax error (code 1): , while compiling: INSERT INTO tab VALUES (1, /, /);
is the error I'm getting when I try to insert row using query
sqLiteDatabase.execSQL("INSERT INTO " + TABLE_TAB + " VALUES (" + tab.getTab() + ", " + tab.getPath() + ", " + tab.getHome() + ");");
I don't understand what is wrong with the query, everything seems fine to me.
Aucun commentaire:
Enregistrer un commentaire