I have the following query:
cursor = helper.getReadableDatabase().rawQuery("select _id, Likert-Skala from "+inAd+" where Name like ?" ,
new String[] { "%" + str2 + "%" });
Now, I get a "no such table" error for Likert-Skala. However, if I do this:
Cursor c = helper.getReadableDatabase().rawQuery("SELECT * FROM "+inAd+" ", null);
DatabaseUtils.dumpCursor(c);
Then my result is, for instance:
09-30 18:42:11.212: I/System.out(907): Likert-Skala=1.63
So the table is clearly there, and there is no typo. Anyone have an Idea?