当前位置:网站首页>Database notes
Database notes
2022-07-01 06:33:00 【A small salted fish I】
List of articles
1、 Case sensitivity of attribute values in the same column
When three records b_author Property values are set to ab,AB,Ab, Use
delet from book where b_author=‘AB’
Three records in the table have been deleted .
reason :
mysql Queries are case insensitive ! This really shocked me , Although I know that generally , Keywords are case insensitive , But I didn't expect that even the parameters to be queried are case insensitive !! Try the following sql sentence , Sure enough, the result is the same .
Mysql Default character retrieval strategy :utf8_general_ci, Indicates case insensitive ;utf8_general_cs Means case sensitive ,utf8_bin Represents a binary comparison , Also case sensitive .( Be careful : stay Mysql5.6.10 In the version , I won't support it utf8_genral_cs!!!!)
Create table time , Set the table directly collate The attribute is utf8_general_cs perhaps utf8_bin; If you have created a table , Then directly modify the Collation The attribute is utf8_general_cs perhaps utf8_bin.
2、MySQL Of “utf8mb4” It's true. “UTF-8”.MySQL Of “utf8” It's a kind of “ Exclusive code ”, It can code Unicode There are not many characters .
Be careful ,utf8mb4 And utf8 One difference is that the former can store ink expressions .
mysql The coding utf-8 and utf8mb4 difference
3、between and It contains two boundaries .
边栏推荐
- SQL语句
- 概率论学习笔记
- How does the port scanning tool help enterprises?
- [wechat applet] view container and basic content components
- 阿里OSS Postman Invalid according to Policy: Policy Condition failed: [“starts-with“, “$key“, “test/“]
- Interview questions for HW (OD) post
- [postgraduate entrance examination advanced mathematics Wu Zhongxiang +880 version for personal use] advanced mathematics Chapter II Basic Stage mind map
- [ManageEngine Zhuohao] the role of LAN monitoring
- 关于变量是否线程安全的问题
- MySQL learning
猜你喜欢
![[ITSM] what is ITSM and why does it department need ITSM](/img/e1/85b5f00f124829b6a6b40c5cf621bd.png)
[ITSM] what is ITSM and why does it department need ITSM
![[wechat applet low code development] second, resolve the code composition of the applet in practice](/img/ab/28ab01db84b1437220e659118b2871.png)
[wechat applet low code development] second, resolve the code composition of the applet in practice
![[ManageEngine] how to realize network automatic operation and maintenance](/img/8a/75332d3180f92c6a6482d881032bbf.png)
[ManageEngine] how to realize network automatic operation and maintenance

C language course set up student elective course system (big homework)

SQL学习笔记九种连接2
![[summary of knowledge points] chi square distribution, t distribution, F distribution](/img/a6/bb5cabbfffb0edc9449c4c251354ae.png)
[summary of knowledge points] chi square distribution, t distribution, F distribution

数据库产生死锁了请问一下有没有解决办法

异常检测方法梳理,看这篇就够了!

C language course set up salary management system (big homework)

【KV260】利用XADC生成芯片温度曲线图
随机推荐
[postgraduate entrance examination advanced mathematics Wu Zhongxiang +880 version for personal use] advanced mathematics Chapter II Basic Stage mind map
C语言课设职工信息管理系统(大作业)
[wechat applet] how to build a building block development?
Application of IT service management (ITSM) in Higher Education
TCL statements in SQL (transaction control statements)
根据输入画有向图
C语言课设学生信息管理系统(大作业)
json模块
[automatic operation and maintenance] what is the use of the automatic operation and maintenance platform
idea 好用插件汇总!!!
子类调用父类的同名方法和属性
JMM details
RestTemplate使用
常用快捷键
概率论学习笔记
数据库产生死锁了请问一下有没有解决办法
[summary of knowledge points] chi square distribution, t distribution, F distribution
@Transactional的传播属性REQUIRES_NEW深入理解
10 golang operator
给逆序对数求原数组