I'm running a query which works just fine when I'm working with normal chars but not with russian, polish etc chars. For instance, when I'm excluding a few items from the selection, this works:
and ARPDisplayName0 NOT LIKE '%Microsoft Office ScreenTip%
These lines instead are not being processed since I see them in the report:
and ARPDisplayName0 NOT LIKE '%Narzędzia sprawdzające pakietu Microsoft Office%'
and ARPDisplayName0 NOT LIKE '%Средства проверки правописания Microsoft Office%'
How can fix it? Thanks a lot :)
That's Unicode, so you need to put a N prefix before the strings, N stands for national character :
DECLARE @x NVARCHAR(max)
SET @x= N'unicode'
It seems like you don't use proper character set for you DB. Check your db encoding is UTF-8.
SET NAMES utf8 COLLATE utf8_unicode_ci
Then try again.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.