this query below gives a CASE SENSITIVE search:
SELECT Column1 FROM Table1 WHERE Column1 COLLATE Latin1_General_CS_AS = 'casesearch'
UPPER() and LOWER() are only functions for changing the case of a letter, so if you are not case sensitive, they are used only after SELECT Keyword:
SELECT UPPER('qwerty'), LOWER('Dog') returns QWERTY, dog
source share