To find lowercase values in a case insensitive database run the following query:
SELECT *
FROM Values
CONVERT(varbinary(12), UPPER(Value)) != CONVERT(varbinary(12), Value)
It converts the values to binary first before they are compared.
To find lowercase values in a case insensitive database run the following query:
SELECT *
FROM Values
CONVERT(varbinary(12), UPPER(Value)) != CONVERT(varbinary(12), Value)
It converts the values to binary first before they are compared.