如何检查 where 子句中的大小写敏感性
我正在使用 ms access 数据库在 vb.net 中做项目 我使用了一个查询,
Command.CommandText = "Select DISTINCT(*) from CharacterData where Mesg= '" & message & "'"
如下所示,当消息变量值为 a & 时执行该查询。另外 if A
那么我应该如何让它只检查 where 子句中正确的区分大小写.. 我想要对 Mesg= '" & message & "'" 进行区分大小写的检查
I am doing project in vb.net using ms access database
I used one query like
Command.CommandText = "Select DISTINCT(*) from CharacterData where Mesg= '" & message & "'"
here it is executed when message variable value is a & also if A
So how should i make it to check only proper case sensitiviy in where clause ..
I want case sensitive checking of Mesg= '" & message & "'"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 StrComp() 或 InStr() ms-access 函数。
Use StrComp() or InStr() ms-access function.