Luke Wilkinson
Luke Wilkinson

Reputation: 439

SQL where field like ■

I have a SQL database where some data has a in it. When I run a like query for that it does't find anything? I need to correct it as it stops the data transforming to xml?

WHERE [value] like '%■%'?

Upvotes: 2

Views: 245

Answers (2)

Priyank Gupta
Priyank Gupta

Reputation: 942

Some time unicode does not work, so you can follow the below steps

  1. Copy the field value and paste it Notepad
  2. Copy that special character
  3. Paste between the Like statement.

I am sure it will works. Please confirm.

Upvotes: 0

WHERE [value] like N'%■%'?

Query it as unicode

Upvotes: 2

Related Questions