Case insensitive search in utf8 db
Posted by: John Stergiou
Date: November 29, 2019 01:14PM

I have a db with uft8 values in greek like:
(it is the word John in greek) and I want to write a query to be able to find all these 3 instances. In other words, I have words in upper case, words in lower case, words with or without tonos (= the mark ' on letter α, second row in my example). Also, another word may be before or after that word. I tried adding " COLLATE NOCASE" at the end of the query and didn't help. Tried: SELECT * FROM Table WHERE UPPER(item) LIKE 'UPPER(%text%')
and now I can find ΓΙΑΝΝΗΣ when searching for "γιαννησ". The last letter "ς" is handled as different than "Σ" as the lower case of "Σ" is "σ" (when a greek word ends with "σ", we use "ς" instead). What can I do to deal with it?

Options: ReplyQuote

Written By
Case insensitive search in utf8 db
November 29, 2019 01:14PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.