当前位置:网站首页>Mysql——》类型转换符binary
Mysql——》类型转换符binary
2022-08-04 10:49:00 【小仙。】
推荐链接:
总结——》【Java】
总结——》【Mysql】
总结——》【Spring】
总结——》【SpringBoot】
一、一、概念
binary 在SQL中是类型转换符(不是函数),用来强制将其后的字符串转换为字节,即将字符串强制按字节进行比较而不是字符
二、作用
1、区分大小写
2、对空格敏感
三、用法
SELECT * FROM test WHERE BINARY str = '小仙';
边栏推荐
猜你喜欢
随机推荐
标准C语言学习总结12
Why are all hotel bathrooms transparent?
物体颜色的来源
Jenkins User Manual (1) - Software Installation
RL78开发环境
Servlet基础详细版
Apache Calcite 框架原理入门和生产应用
A topic of map
helm安装
Introduction to the core methods of the CompletableFuture interface
C language * Xiaobai's adventure
航企纠缠A350安全问题 空客主动取消飞机订单
Maple 2022软件安装包下载及安装教程
Business collocations
如何直击固定资产管理的难题?
JUC (1) threads and processes, concurrency and parallelism, thread state, locks, producers and consumers
onlyoffice设置跟踪变化trackChanges默认为对自己启动
粤黔协作,山海同心!578种贵州特色农产品走进粤港澳大湾区
利用pytest hook函数实现自动化测试结果推送企业微信
MySQL之my.cnf配置文件