Is there a way to make a LIKE query without an accent in SQLite? For example, this query:
SELECT * FROM users WHERE name LIKE "Andre%"
will return:
AndrΓ© the giant Andre Agassi etc.
I use Qt with QSqlDatabase if that matters.
Configure collation using sqlite3_create_collation , and then use it like this:
sqlite3_create_collation
SELECT * FROM users WHERE name LIKE "Andre%" COLLATE NOACCENTS