当前位置:网站首页>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 .
边栏推荐
- 软件工程领域的名词描述
- Mongodb: I. what is mongodb? Advantages and disadvantages of mongodb
- [postgraduate entrance examination advanced mathematics Wu Zhongxiang +880 version for personal use] advanced mathematics Chapter II Basic Stage mind map
- B-tree series
- C语言课设职工信息管理系统(大作业)
- [wechat applet] to solve button, input and image components
- Comment imprimer le tableau original
- High order binary search tree
- lxml模块(数据提取)
- 启牛学堂合作的证券公司是哪家?开户安全吗?
猜你喜欢

嵌入式系统

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

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

SQL statement

Picture server project test

How did ManageEngine Zhuohao achieve the goal of being selected into Gartner Magic Quadrant for four consecutive years?

Record MySQL troubleshooting caused by disk sector damage
![[wechat applet] to solve button, input and image components](/img/7f/a61ee2f610b2f0f9fb0b34cb960f81.jpg)
[wechat applet] to solve button, input and image components
![[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

Idea easy to use plug-in summary!!!
随机推荐
Student attendance system for C language course (big homework)
How does the port scanning tool help enterprises?
Idea easy to use plug-in summary!!!
子类调用父类的同名方法和属性
嵌入式系统
NOC 设计的一些坑
[enterprise data security] upgrade backup strategy to ensure enterprise data security
JMM details
If I am in Guangzhou, where can I open an account? Is it safe to open an account online?
根据输入画有向图
[unity shader custom material panel part II]
VS2019如何永久配置本地OpenCV4.5.5使用
C语言课设工资管理系统(大作业)
[postgraduate entrance examination advanced mathematics Wu Zhongxiang +880 version for personal use] advanced mathematics Chapter II Basic Stage mind map
How did ManageEngine Zhuohao achieve the goal of being selected into Gartner Magic Quadrant for four consecutive years?
Requests module (requests)
伪装请求头库: anti-useragent
C语言课设学生信息管理系统(大作业)
SystemVerilog learning-09-interprocess synchronization, communication and virtual methods
HCM Beginner (I) - Introduction