0

I have a table

enter image description here

And try to execute this command :

SELECT * FROM projects WHERE (UPPER(title) LIKE '%КУ%' OR UPPER(description) LIKE '%КУ%')

In the end i want to get a row with id 2 but nothing returns to me.

But, when i change request to :

SELECT * FROM projects WHERE (UPPER(title) LIKE '%Ку%' OR UPPER(description) LIKE '%Ку%')

It returns row (as expected) with id 2.

What i doing wrong? Why UPPER not worked?

Sergey Shustikov
  • 15,377
  • 12
  • 67
  • 119

1 Answers1

4

The problem is in Russian language :) UPPER is working only for latin alphabet. There is question about it in ru.stackoverflow

Community
  • 1
  • 1
Sergey Glotov
  • 20,200
  • 11
  • 84
  • 98