当前位置:网站首页>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 .
边栏推荐
- [ManageEngine] how to realize network automatic operation and maintenance
- C language course set up property fee management system (big work)
- Free trial of self-developed software noisecreater1.1
- 数据库产生死锁了请问一下有没有解决办法
- High order binary search tree
- [ManageEngine Zhuohao] the role of LAN monitoring
- libpng12.so. 0: cannot open shared object file: no such file or directory
- High order binary balanced tree
- Discrimination between left and right limits of derivatives and left and right derivatives
- 第五章 输入/输出(I/O)管理
猜你喜欢

Promise
![[automatic operation and maintenance] what is the use of the automatic operation and maintenance platform](/img/14/756d566744d6e4a988a284c5b30130.png)
[automatic operation and maintenance] what is the use of the automatic operation and maintenance platform

2022 Jiangsu Vocational College skills competition (secondary vocational school) network construction and application open competition volume

Picture server project test
![[wechat applet] to solve button, input and image components](/img/7f/a61ee2f610b2f0f9fb0b34cb960f81.jpg)
[wechat applet] to solve button, input and image components

C语言课设学生信息管理系统(大作业)

Record MySQL troubleshooting caused by disk sector damage

Design of sales management system for C language course (big homework)

SQL statement

下载外文期刊的方法
随机推荐
C how to print out the original array
Picture server project test
证券类开户有什么影响 开户安全吗
Detailed steps for installing redis on Windows system
[ITSM] what is ITSM and why does it department need ITSM
存储过程学习笔记
SystemVerilog learning-08-random constraints and thread control
[summary of problem thinking] Why is the register reset performed in user mode?
微信公众号内嵌跳转微信小程序方案总结
Design of sales management system for C language course (big homework)
json模块
mysql约束学习笔记
考研目录链接
常用快捷键
Several ways of gson's @jsonadapter annotation
SystemVerilog learning-06-class encapsulation
C language course design student information management system (big homework)
【#Unity Shader#Amplify Shader Editor(ASE)_第九篇】
【微信小程序】一文解决button、input、image组件
伪装请求头库: anti-useragent