1

Per this question, I've tried to perform a case-sensitive SELECT query on a column in my table, but it's returning a Syntax Error. The query is:

SELECT [EntityValueID] 
FROM [EntityValue] 
WHERE [EntityCode] = "&oK;" COLLATE SQL_Latin1_General_CP1_CS_AS

I'm not sure what I've missed here - is there something I need to download to get collation working? Or is it something apparently obvious? It highlights the COLLATE keyword when I attempt to run the query, so I guess the error is here, but it seems just like the answer I referenced.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Lou
  • 2,200
  • 2
  • 33
  • 66

0 Answers0