In my database which is utf8_general_ci, 99.99% of searches should be done case insensitive. Now there’s a specific situation where I need to find some data in a case sensitive manner. The field is a varchar field, which I usually search case insensitive.
My question is: Can I perform a case sensitive search on a field that is usually case insensitive?
select * from page
where convert(pageTitle using latin1) collate utf8_ = ‘Something’
i found this answer descriptive enough 🙂