6

I'm using SQL Server 2008 R2. I'm just wondering why this statement doesn't work correctly.

For example: The statement

WHERE CONTRACTORNAME LIKE '%á%' 

would gives me the correct result for every records containing "á". But the statement

WHERE CONTRACTORNAME LIKE '%ạ%' 

would not gives any records even though in CONTRACTORNAME column have a tons of records containing this character. Any help?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
user1507164
  • 81
  • 1
  • 4

1 Answers1

17

Try using a Unicode search string:

WHERE CONTRACTORNAME LIKE N'%ạ%' 
Kevin Aenmey
  • 13,259
  • 5
  • 46
  • 45