T
T
tukal-off2016-03-20 14:18:01
SQL Server
tukal-off, 2016-03-20 14:18:01

How to force mssql to search in text fields with Russian characters?

At some point, SSMS stopped producing results with conditions like
where field = 'Текст'
where field in ('Текст')
where field like 'Текст'
That is, it does not search in text fields with Russian characters (everything is fine with Latin characters).
Previously, I normally perceived Russian characters. It is advisable not to change the settings of the server itself, I'm not the only one using it.
How can I solve this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tukal-off, 2016-03-21
@tukal-off

Adding an N before the opening apostrophe of the string solves the problem.
Link for clarification

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question