SQL Case Sensitive String Compare
sql, sql-server
Solution
Select * from a_table where attribute = 'k' COLLATE Latin1_General_CS_AS
Did the trick.
Problem
How do you compare strings so that the comparison is true only if the cases of each of the strings are equal as well. For example: ``` Select * from a_table where attribute = 'k' ``` ...will return a row with an attribute of 'K'. I do not want this behaviour.