question

Joe 1 1 avatar image
Joe 1 1 asked

How do I perform LIKE operator on a VARBINARY column with UNICODE text?

Does anyone know how to search a filed of type VARBINARY(MAX) using LIKE operator?

Basically I am trying to do something like:

SELECT * FROM tbl WHERE CAST(unicode_col AS NVARCHAR) LIKE N'%' + @SRCH_TXT + '%'

full-textunicode
10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.