Select id from Persons where name = ‘αα’
(α is a in Greek)
Using programs like DB Browser for SQLite, the above command returns the correct value. In my app it returns nothing, null. The query is writen in an EditorGadget. I guess I found a solution back then, searched my posts and didn’t find anything here in this forum. The code was lost when the HDD died some years ago and the code was rewritten and enhanced. Now, I deal with the same problem as I have to update the app. Any suggestions what is going on?
EDIT: seems like it accepts only the word 'select'. 'Select' and 'SELECT' are not working. When the query is created by the app and not taken from the EditorGadget, like:
Code: Select all
CheckDatabaseQuery(#db, "select id from Persons where name = '" + name$ + "'")
