How to use case sensitivity in instr() in MySQL?
问题 Possible duplicate: How to apply wildcard in instr() in MySQL? The possible duplicate linked shows a query which is exactly like my current one sort of. However, I cannot find a way to make it a case sensitive match. :\ SELECT COUNT(*) FROM users WHERE INSTR(flags, 'T') > 0; I get a count of 46 which is obviously wrong. It's counting every instance "T" in flags whether it's upper- or lower-case. It works as according to the MySQL documentation. I found something in the MySQL docs that said to