当前位置:网站首页>MySQL replace primary key delete primary key add primary key
MySQL replace primary key delete primary key add primary key
2022-07-05 23:25:00 【Risehuxyc】
Add primary key
alter table humanidentity.citycode add primary key(adcode);
Delete primary key
alter table humanidentity.citycode drop primary key;
Replace primary key
alter table humanidentity.citycode drop primary key;
alter table humanidentity.citycode add primary key(adcode);
Inspection effect
desc humanidentity.citycode;
Reference documents :
边栏推荐
- Negative sampling
- Go language implementation principle -- lock implementation principle
- Multi view 3D reconstruction
- Debian 10 installation configuration
- (4)UART应用设计及仿真验证2 —— RX模块设计(无状态机)
- AsyncSocket长连接棒包装问题解决
- 2:第一章:认识JVM规范1:JVM简介;
- Brushless drive design -- on MOS drive circuit
- Leetcode sword finger offer brush questions - day 21
- Mathematical formula screenshot recognition artifact mathpix unlimited use tutorial
猜你喜欢
Xinyuan & Lichuang EDA training camp - brushless motor drive
【经典控制理论】自控实验总结
698. 划分为k个相等的子集 ●●
3:第一章:认识JVM规范2:JVM规范,简介;
Data type, variable declaration, global variable and i/o mapping of PLC programming basis (CoDeSys)
Matlab smooth curve connection scatter diagram
Basic knowledge of database (interview)
Realize reverse proxy client IP transparent transmission
TypeError: this. getOptions is not a function
2022 R2 mobile pressure vessel filling review simulation examination and R2 mobile pressure vessel filling examination questions
随机推荐
Hainan Nuanshen tea recruits warmhearted people: recruitment of the product experience recommender of Nuanshen multi bubble honey orchid single cluster
Use of shell:for loop
[classical control theory] summary of automatic control experiment
Selenium+pytest automated test framework practice
3D reconstruction of point cloud
JVM的简介
Realize reverse proxy client IP transparent transmission
视频标准二三事
2:第一章:认识JVM规范1:JVM简介;
Use of grpc interceptor
What is the process of building a website
判断二叉树是否为完全二叉树
2: Chapter 1: understanding JVM specification 1: introduction to JVM;
C# Linq Demo
Xinyuan & Lichuang EDA training camp - brushless motor drive
[Yu Yue education] NC machining technology reference materials of Shaanxi University of science and technology
Basic knowledge of database (interview)
It is proved that POJ 1014 module is optimized and pruned, and some recursion is wrong
Southeast Asia e-commerce guide, how do sellers layout the Southeast Asia market?
LeetCode102. Sequence traversal of binary tree (output by layer and unified output)