案件敏感问题 [英] Case senstive problem

查看:79
本文介绍了案件敏感问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现用vb.net存储过程(似乎忽略了大小写敏感)

我输入lax作为代码,它返回正确的答案,怎么样?

我不能在该文本框中设置大写字母,但我需要检查数据

''case''

请帮助

解决方案

Agnes,


"之间的所有文字。

数据表中的实例数据表名称大部分都是大小写的。


与此相反的SQL字符串不具备大小写的含义。


这是你指出的问题吗?


Cor


" Agnes" < AG *** @ dynamictech.com.hk> schreef in bericht

新闻:ez ************* @ TK2MSFTNGP11.phx.gbl ...

我发现存储过程与vb.net(似乎忽略了案例敏感)
我输入lax作为代码,它返回正确答案,怎么样?
我不能在该文本框中设置大写字母,但我需要检查数据
''case''
请帮助



*" Agnes" < AG *** @ dynamictech.com.hk> scripsit:

我发现用vb.net存储过程(似乎忽略了大小写敏感)
我输入lax作为代码,它返回正确的答案,怎么样?
我不能在该文本框中设置大写,但我需要检查数据
''case''



有什么数据的情况?在数据库中?你可以更具体

和/或发布你目前使用的一些代码吗?


-

MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL:http://dotnet.mvps.org/dotnet / faqs />


我的代码是

(1)从portTable中选择*,其中portcode ='''lax''

(2)从portTable中选择*其中portcode =''LAX''

两个语句都返回TRUE的答案,我不知道判断(1)应该返回

什么都不给我


" Herfried K. Wagner [MVP]" <喜*************** @ gmx.at> ????

新闻:2q ************ @ uni-berlin.de ??? ...

*" Agnes" ; < AG *** @ dynamictech.com.hk> scripsit:

我发现用vb.net存储过程(似乎忽略了大小写敏感)
我输入lax作为代码,它返回正确的答案,怎么样?
我不能在该文本框中设置大写,但我需要检查数据
''case''


什么数据的情况?在数据库中?你能更具体地说明和/或发布你目前正在使用的一些代码吗?

MS Herfried K. Wagner
MVP< URL:http: //dotnet.mvps.org/>
VB< URL:http://dotnet.mvps.org/dotnet/faqs/>


I found that store procedure with vb.net (seems ignore case senstive)
I type "lax" as code, and it returns the correct answer , How come ??
I can''t set the upper case in that textbox, BUT I need to check the data
''case''
Please help

解决方案

Agnes,

All text between "" is mostly case sensetive by instance datatable names in
datatables.

SQL strings in opposite to that are not case sensetive.

Is this the problem you are pointing on?

Cor

"Agnes" <ag***@dynamictech.com.hk> schreef in bericht
news:ez*************@TK2MSFTNGP11.phx.gbl...

I found that store procedure with vb.net (seems ignore case senstive)
I type "lax" as code, and it returns the correct answer , How come ??
I can''t set the upper case in that textbox, BUT I need to check the data
''case''
Please help



* "Agnes" <ag***@dynamictech.com.hk> scripsit:

I found that store procedure with vb.net (seems ignore case senstive)
I type "lax" as code, and it returns the correct answer , How come ??
I can''t set the upper case in that textbox, BUT I need to check the data
''case''



The case of what data? In the database? Can you be more specific
and/or post some code you are currently using?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>


my code is
(1)select * from portTable where portcode = ''lax''
(2)select * from portTable where portcode = ''LAX''
both statment return the TRUE answer, I wonder statment (1) should return
nothing to me

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> ???
news:2q************@uni-berlin.de ???...

* "Agnes" <ag***@dynamictech.com.hk> scripsit:

I found that store procedure with vb.net (seems ignore case senstive)
I type "lax" as code, and it returns the correct answer , How come ??
I can''t set the upper case in that textbox, BUT I need to check the data
''case''



The case of what data? In the database? Can you be more specific
and/or post some code you are currently using?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>



这篇关于案件敏感问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆