ASP中的“=”和“<>”在大小写方面不一样吗?

tsinge 2002-02-17 10:37:59
为何在SQL语句中,用“=”,不检查大小写?

在if语句中,使用"<>",却要检查?

请指教!!!
...全文
90 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
julyclyde 2002-02-18
  • 打赏
  • 举报
回复
ASP里根本没有=和《》
freeleo 2002-02-18
  • 打赏
  • 举报
回复
怎么没法收藏?
karma 2002-02-17
  • 打赏
  • 举报
回复
SQL and VBScript belong to totally different domains. It is not strange when they have different definitions for same operators

If in doubt, you can always convert the values to same cases before doing comparisons, for example
UPPER() or LOWER() in SQL,
UCASE() and LCASE() in VBScript

Also in VBScript, you can use
StrComp(string1, string2,1) (0 is same, otherwise different)
to do case-insensitive comparisons


了解一定的html代码对于优化来说也是很好的一个帮助。所以今天学习了一下几种常用的html代码,拿过来与大家分享啊。
1、从左向右移文字移动代码
代码 需要移动的文字
2、从右向左移
代码 需要移动的文字
3 、从上向下移动文字移动代码
代码

28,406

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧