Why would you want a case sensitive database?

Posted by Khorkrak on Stack Overflow See other posts from Stack Overflow or by Khorkrak
Published on 2010-06-07T00:47:17Z Indexed on 2010/06/07 0:52 UTC
Read the original article Hit count: 363

Filed under:
|

What are some reasons for choosing a case sensitive collation over a case insensitive one? I can see perhaps a modest performance gain for the DB engine in doing string comparisons. Is that it? If your data is set to all lower or uppercase then case sensitive could be reasonable but it's a disaster if you store mixed case data and then try to query it. You have then apply a lower() function on the column so that it'll match the corresponding lower case string literal. This prevents index usage in every dbms. So wondering why anyone would use such an option.

© Stack Overflow or respective owner

Related posts about database

Related posts about collation