当前位置:网站首页>Oracle migration MySQL unique index case insensitive don't be afraid
Oracle migration MySQL unique index case insensitive don't be afraid
2022-06-27 21:44:00 【sorghum】
Project to start from oracle transfer mysql Find out mysql The unique index of is not case sensitive , Will report a mistake
Error code : 1062
Duplicate entry '8a84cc20713c2a570171bfb3515e5fb6' for key 'PM_SIN_PROJECT_INFO.PRIMARY'
There are two solutions
Add a unique index to this field when creating a table ,binary For English case sensitivity
`ID_NO` VARCHAR(32) BINARY NOT NULL COMMENT ' notes ',
COLLATE Change to utf8mb4_bin
ENGINE = INNODB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin
边栏推荐
- io流代码
- Contest 2050 and Codeforces Round #718 (Div. 1 + Div. 2)
- 互联网 35~40 岁的一线研发人员,对于此岗位的核心竞争力是什么?
- Knowledge sorting of exception handling
- ∫(0→1) ln(1+x) / (x² + 1) dx
- 分享|智慧环保-生态文明信息化解决方案(附PDF)
- Special tutorial - Captain selection game
- Go from introduction to actual combat -- channel closing and broadcasting (notes)
- win11桌面出現“了解此圖片”如何删除
- At 19:00 on Tuesday evening, the 8th live broadcast of battle code Pioneer - how to participate in openharmony's open source contribution in multiple directions
猜你喜欢

Release of global Unicorn list in 2021: the full list of 301 Unicorn enterprises in China is coming!

Go from introduction to actual combat - panic and recover (notes)

Go从入门到实战——错误机制(笔记)

01-Golang-环境搭建

Let Ma Huateng down! Web3.0, hopeless

What is the core competitiveness of front-line R & D personnel aged 35~40 in this position?

微服务之远程调用

Experience Navicat premium 16, unlimited reset, 14 day trial method (with source code)

Educational Codeforces Round 108 (Rated for Div. 2)

Go從入門到實戰——接口(筆記)
随机推荐
富文本 考试 填空题
100 important knowledge points that SQL must master: filtering data
squid代理服務器
Go从入门到实战——共享内存并发机制(笔记)
How to participate in openharmony code contribution
TypeScript学习
Knowledge sorting of exception handling
Acwing周赛57-最长连续子序列-(二分or树状数组)
Set code exercise
Go from introduction to actual combat - panic and recover (notes)
Go从入门到实战——channel的关闭和广播(笔记)
SQL必需掌握的100个重要知识点:IN 操作符
Go from introduction to practice - Interface (notes)
Serveur mandataire SQUID
华为伙伴暨开发者大会2022开源时刻全纪录
AI 绘画极简教程
Go从入门到实战——CSP并发机制(笔记)
图解基于AQS队列实现的CountDownLatch和CyclicBarrier
MySQL performance optimization index function, hidden, prefix, hash index usage (2)
小王的面试训练任务