当前位置:网站首页>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 .
边栏推荐
- 考研目录链接
- 概率论学习笔记
- Detailed steps for installing redis on Windows system
- Record MySQL troubleshooting caused by disk sector damage
- 启牛学堂合作的证券公司是哪家?开户安全吗?
- How does the port scanning tool help enterprises?
- 软件工程领域的名词描述
- [automatic operation and maintenance] what is the use of the automatic operation and maintenance platform
- NOC 设计的一些坑
- C language course is provided with employee information management system (large operation)
猜你喜欢

C语言课设物业费管理系统(大作业)

Design of sales management system for C language course (big homework)
![[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 Zhuohao] helps Julia college, the world's top Conservatory of music, improve terminal security](/img/fb/0a9f0ea72efc4785cc21fd0d4830c2.png)
[ManageEngine Zhuohao] helps Julia college, the world's top Conservatory of music, improve terminal security

【微信小程序】如何搭积木式开发?

C language course set up property fee management system (big work)

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

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

HCM Beginner (IV) - time

自开发软件NoiseCreater1.1版本免费试用
随机推荐
Redis安装到Windows系统上的详细步骤
[ITSM] what is ITSM and why does it department need ITSM
SQL学习笔记2
mysql学习
B-tree series
[leetcode] day91- duplicate elements exist
C#如何打印输出原版数组
[self use of advanced mathematics in postgraduate entrance examination] advanced mathematics Chapter 1 thinking map in basic stage
Application of IT service management (ITSM) in Higher Education
High order binary search tree
json模块
Requests module (requests)
C语言课设工资管理系统(大作业)
Mongodb: I. what is mongodb? Advantages and disadvantages of mongodb
异常检测方法梳理,看这篇就够了!
第五章 輸入/輸出(I/O)管理
ManageEngine Zhuohao helps you comply with ISO 20000 standard (IV)
HCM Beginner (III) - quickly enter pa70 and pa71 to browse employee information PA10
[unity shader custom material panel part II]
Dongle data collection