I've encountered something very strange. My database definitely contains the column "hit2." When I execute this query, SELECT * FROM data WHERE hit2 = aaaa000600166, I get the error:
android.database.sqlite.SQLiteException: no such column: aaaa000600166 (code 1 SQLITE_ERROR[1]): , while compiling: SELECT * FROM data WHERE hit2 = aaaa000600166
When I change the query to: SELECT * FROM data WHERE hit2 = 000600166, no error appears. It seems that adding "aaaa" to the search criteria triggers the error. I don't get an error message with the query SELECT * FROM data WHERE hit2 = +000600166 either, but if I change it to SELECT * FROM data WHERE hit2 = a000600166 or any other letter, the error message appears again.
Does anyone have any idea what's going on here?
android.database.sqlite.SQLiteException: no such column: aaaa000600166 (code 1 SQLITE_ERROR[1]): , while compiling: SELECT * FROM data WHERE hit2 = aaaa000600166
When I change the query to: SELECT * FROM data WHERE hit2 = 000600166, no error appears. It seems that adding "aaaa" to the search criteria triggers the error. I don't get an error message with the query SELECT * FROM data WHERE hit2 = +000600166 either, but if I change it to SELECT * FROM data WHERE hit2 = a000600166 or any other letter, the error message appears again.
Does anyone have any idea what's going on here?