In SQL, is there any function to uppercase a string with specified locale? Function upper(a_string)
takes one parameter which is not enough for characters other than ASCII ones.
For example, I want to run a statement like this to change all the lowercase characters in a table with values containing Turkish characters:
UPDATE a_table SET a_field = UPPER(a_field, TurkishLocale);
Is there any function like this? If not, how can I define it?
You have to use the ICU extension module to get locale-dependent case functions in sqlite.