当前位置:网站首页>Modify table structure
Modify table structure
2022-07-03 01:51:00 【Xu Feng &】
1, Basics
alter table table_name Modify clause
// It is allowed to specify multiple actions , Comma off 2, Modify clause
newly added
add column_name data_type [not null][default default_value]
// Primary key
add primary key
drop primary keychange
change column_name new_column data_type
[not null][default default_name]to update
modify column_name new_data_type[not null][default default_value]
// Directly change without entering the old name, directly enter the new name Delete field
drop column column_nameDelete unique constraint
drop column column_namerename table
rename table table_name to new_table_name边栏推荐
- 小程序開發的部分功能
- [data mining] task 2: mimic-iii data processing of medical database
- Caused by: com. fasterxml. jackson. databind. exc.MismatchedInputException: Cannot construct instance o
- 树形结构数据的处理
- What are the differences between software testers with a monthly salary of 7K and 25K? Leaders look up to you when they master it
- Huakaiyun (Zhiyin) | virtual host: what is a virtual host
- 【Camera专题】手把手撸一份驱动 到 点亮Camera
- 网络安全-漏洞与木马
- C application interface development foundation - form control (1) - form form
- 2022-02-15 reading the meta module inspiration of the influxdb cluster
猜你喜欢

C application interface development foundation - form control (1) - form form

STM32 - switch of relay control lamp

深度(穿透)选择器 ::v-deep/deep/及 > > >

STM32 - GPIO input / output mode

Smart management of Green Cities: Digital twin underground integrated pipe gallery platform

Telecom Customer Churn Prediction challenge

How is the mask effect achieved in the LPL ban/pick selection stage?

NCTF 2018 part Title WP (1)

【数据挖掘】任务2:医学数据库MIMIC-III数据处理
![[data mining] task 1: distance calculation](/img/72/a63cdfe32a7c438acf48a069d9bba1.png)
[data mining] task 1: distance calculation
随机推荐
STM32 - Application of external interrupt induction lamp
Related concepts of GDB in embedded system
LabVIEW安装第三方VISA软件后NI VISA失效
Network security - talking about security threats
C language course information management system
Caused by: com. fasterxml. jackson. databind. exc.MismatchedInputException: Cannot construct instance o
[keil5 debugging] debug is stuck in reset_ Handler solution
[data mining] task 2: mimic-iii data processing of medical database
[leetcode] 797 and 1189 (basis of graph theory)
Vant implements a simple login registration module and a personal user center
Network security - dynamic routing protocol rip
Rockchip3399 start auto load driver
深度(穿透)选择器 ::v-deep/deep/及 > > >
PS remove watermark details
[error record] an error is reported in the fluent interface (no mediaquery widget ancestor found. | scaffold widgets require a mediaquery)
STM32 - switch of relay control lamp
openresty 缓存
自定义组件、使用npm包、全局数据共享、分包
String splicing function of MySQL
Learn the five skills you need to master in cloud computing application development