当前位置:网站首页>mysql 主键约束删除问题
mysql 主键约束删除问题
2022-06-29 06:57:00 【CSDN问答】
DROP TABLEIF EXISTS emp;CREATE TABLE emp ( id INT PRIMARY KEY, enam VARCHAR ( 50 ) UNIQUE, joindate date NOT NULL, salary DOUBLE ( 7, 2 ) NOT NULL, bonus DOUBLE ( 7, 2 ) DEFAULT 0 );ALTER TABLE emp DROP PRIMARY KEY;运行后出现 > 1091 - Can't DROP 'PRIMARY'; check that column/key exists 怎么解决
边栏推荐
- MySQL按天/周/月/季度/半年/年统计数据
- Indextree and Application
- Little white battle pointer (Part 1)
- 关于SqlSugar的多对多的级联插入的问题(无法获取集合属性的id,导致无法维护中间表)
- [eye of depth wuenda machine learning operation class phase IV] logic regression programming implementation
- js实现图片懒加载的一个详细方案(引入即可使用)
- 1284_ Implementation analysis of FreeRTOS task priority acquisition
- JSP learning part
- Verilog初体验
- js:Array. Reduce cumulative calculation and array consolidation
猜你喜欢

AI and the meta universe sparked a spark: human beings lost only shackles and gained all-round liberation

Protobuf binary file learning and parsing

C actual combat - high configuration version of Snake game design

After crossing, she said that the multiverse really exists
![[eye of depth Wu Enda's fourth operation class] summary of multiple linear regression with multiple variables](/img/51/581be1bdfe7cc97193ff68d3ec5d22.png)
[eye of depth Wu Enda's fourth operation class] summary of multiple linear regression with multiple variables

1284_ Implementation analysis of FreeRTOS task priority acquisition

在colaboratory上云端使用GPU训练(以YOLOv5举例)

MongoDB-使用mongo/mongosh命令行连接数据库

What are the constraints in MySQL? (instance verification)

Taro 介绍
随机推荐
Solidity deploy and validate agent contracts
js实现图片懒加载的一个详细方案(引入即可使用)
aws iam内联策略示例
js异或混淆代码
蓝图基础
Environmental preparation - Engineering Management
MySQL按天/周/月/季度/半年/年统计数据
软重启(reboot)
【深度之眼吴恩达机器学习作业班第四期】Regularization正则化总结
为什么两个执行很快的SQL,union之后特别慢
Oracle batch insert data - insert ethnic data
Sonic communication - streaming data processing - window alignment
SizeBalanceTree
服装产业发展趋势|供应链|智能制造
[quantitative investment system] factor processing and installation Talib
Introduction to taro
Django - installing mysqlclient error: mysqlclient 1.4.0 or newer is required; you have 0.9.3
SQL SERVER 2008 发布订阅到SQL Server 2017避坑指南
Code:: blocks code formatting shortcuts
Behaviortree in ros2