I just realized that SQL server '='
comparator when used for text comparison is case insensitive. I have a few questions regarding this functionality:
lower
function to ensure the text comparison is insensitive till now. Is it still a good idea to follow the same?'='
operator defaulting to case insensitive comparison?No, case sensitivity has nothing to do with the equals sign.
Case sensitivity is determined by the collation for the database -- see the documentation for details.