G
G
German2019-09-20 23:53:20
SQL Server
German, 2019-09-20 23:53:20

SQL Server not looking for text in Russian?

I created a regular .mdf database with the following lines:
5d853b735e153996881316.png
And the following content:
5d853bafb0f0d469446158.png
I'm trying to execute the following query on it:

SELECT product_name FROM Catalog WHERE product_type = 'Бытовая продукция'

But I get emptiness, returns nothing. The nvarchar type supports Unicode.
What's wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2019-09-21
@mrjbom

SELECT product_name FROM Catalog WHERE product_type = N'Бытовая продукция'

The nvarchar type supports Unicode. What's wrong?
And you're not looking for Unicode.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question