I have a function that returns five characters with mixed case. If I do a query on this string it will return the value regardless of case.
How can I make MySQL stri
No need to changes anything on DB level, just you have to changes in SQL Query it will work.
Example -
"SELECT * FROM where userId = '" + iv_userId + "' AND password = BINARY '" + iv_password + "'"; Binary keyword will make case sensitive. 0 讨论(0) 查看其它11个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
Binary keyword will make case sensitive.