Is there an operator In SQL that allow you search a value using case sensitive mode? By using the "=" sign the select statement will not differentiate between "Test" and "test"
You can convert the column and criteria to binary and compare as in the following example.
SELECT * FROM TABLE1
WHERE CAST(Col1 AS VARBINARY(16)) = CAST('Test' AS VARBINARY(16)) Terry L. Broadbent
faq183-874 contains some tips and ideas for posting questions in these forums. Please review it and comment if you have time. NOTE: Reference to the FAQ is part of my signature and is not directed at any individual.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.