当前位置:网站首页>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
边栏推荐
- Go从入门到实战——行为的定义和实现(笔记)
- Express e stack - small items in array
- 100 important knowledge points that SQL must master: filtering data
- Go从入门到实战——所有任务完成(笔记)
- Is it safe to open an account and buy stocks? Who knows
- CEPH distributed storage
- 图解基于AQS队列实现的CountDownLatch和CyclicBarrier
- GBase 8a OLAP分析函数 cume_dist的使用样例
- 专题教程——选队长游戏
- 快递e栈——数组篇小型项目
猜你喜欢

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

win11桌面出現“了解此圖片”如何删除

A set of system to reduce 10 times the traffic pressure in crowded areas

流程控制任务

Save method of JPA stepping pit series

Codeforces Round #716 (Div. 2)

Bit.Store:熊市漫漫,稳定Staking产品或成主旋律

squid代理服務器

Go from entry to practice - multiple selection and timeout control (notes)

Very comprehensive dolphin scheduler installation and use documents
随机推荐
Codeforces Round #717 (Div. 2)
TypeScript学习
Codeforces Round #722 (Div. 2)
ABC-Teleporter Setting-(思维+最短路)
Go from introduction to actual combat - package (notes)
Knowledge sorting of exception handling
String类的常用方法
What is the core competitiveness of front-line R & D personnel aged 35~40 in this position?
The difference between scrum and Kanban
图解基于AQS队列实现的CountDownLatch和CyclicBarrier
excel读取文件内容方法
Go从入门到实战——package(笔记)
神奇的POI读取excel模板文件报错
鲜为人知的mysql导入数据
GFS distributed file system
squid代理服務器
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
After being forced to develop the app within 20 days, the group was laid off, and the technical director angrily criticized it: I wish "closure as soon as possible!"
linux下安装oracle11g 静默安装教程
强制 20 天内开发 APP 后集体被裁,技术负责人怒批:祝“早日倒闭!”