当前位置:网站首页>SQL Server查询区分大小写
SQL Server查询区分大小写
2022-06-10 20:59:00 【sichuanwww】
默认情况下,select语句是不区分大小写的,语句形式为:
string strSelect = "select UserName from UserInfor where
UserName [email protected] and
UserPWD [email protected]";
string strSelect = "select UserName from UserInfor where
UserName [email protected] and
UserPWD [email protected]";如果需要区分大小写,则需要写成:
string strSelect = "select UserName from UserInfor where
UserName collate [email protected] and
UserPWD collate [email protected]";
string strSelect = "select UserName from UserInfor where
UserName collate [email protected] and
UserPWD collate [email protected]";
边栏推荐
- C language -- 11 branch statement if else
- C#使用S7.net连接西门子S1200PLC,C#直接连接西门子PLC
- 2022-06-09 rk817 PMU battery temperature detection
- 【C#】overide可重写从更高父级继承来的virtual方法
- protoc protoc-gen-go protobuf 之间的关系
- KDD2022 | 基于对抗性知识蒸馏的深度图神经网络压缩
- [nk] 牛客月赛51 G计算题
- MySQL范围查询优化的场景实例详解
- 【MySQL】表结构的增删查改操作(DDL)
- [1024 ways to play windows azure] 75 Fast cloud database migration seamlessly migrate alicloud RDS SQL server to azure SQL databas
猜你喜欢
php伪协议实现命令执行详情

Understanding of related concepts of target detection

数组 求并集

Icml2022 | sharp maml: model independent meta learning for sharpness perception

In 2021, the average salary will be released, and the IT industry will not be surprised

Abbexa acrylamide peg NHS instructions

Exec function of PHP

JS mobile terminal copy text to clipboard code

【MySQL】錶數據的增删查改(DML)
SQL Server2019安装的详细步骤实战记录(亲测可用)
随机推荐
JS mobile terminal copy text to clipboard code
Abbexa AML1 DNA binding ELISA Kit instructions
【MySQL】表结构的增删查改操作(DDL)
Variables (automatic variables, static variables, register variables, external variables) and memory allocation of C malloc/free, calloc/realloc
[1024 ways to play windows azure] 75 Fast cloud database migration seamlessly migrate alicloud RDS SQL server to azure SQL databas
Exec function of PHP
C language -- 10 first knowledge of structure
ThinkPHP v6.0.x反序列化漏洞复现
Concept and use of CEPH distributed storage cluster pool resource pool
【生成对抗网络学习 其一】经典GAN与其存在的问题和相关改进
C language -- 7 operators
【MySQL】常见数据类型总结
Array intersection of two arrays II
NFT版权/版税
C program example 1 -- personal address book management system
构建幼儿Steam教育实施策略
Junior high school graduates who choose secondary vocational schools can also be promoted to institutions of higher learning
Install MySQL on Linux system. Problems encountered in xshell
A number that appears only once in an array
What do software test engineers do?