当前位置:网站首页>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边栏推荐
- 2022 spring "golden three silver four" job hopping prerequisites: Software Test interview questions (with answers)
- 【Camera专题】Camera dtsi 完全解析
- VIM 9.0 is officially released! The execution speed of the new script can be increased by up to 100 times
- Network security - password cracking
- 【数据挖掘】任务6:DBSCAN聚类
- STM32 - vibration sensor control relay on
- 小程序開發的部分功能
- Types of map key and object key
- Reprint some Qt development experience written by great Xia 6.5
- Vant 实现简单的登录注册模块以及个人用户中心
猜你喜欢

A 30-year-old software tester, who has been unemployed for 4 months, is confused and doesn't know what to do?

High resolution network (Part 1): Principle Analysis
![[shutter] animation animation (basic process of shutter animation | create animation controller | create animation | set value listener | set state listener | use animation values in layout | animatio](/img/70/54eb9359ac91aa43383b240eb036b7.gif)
[shutter] animation animation (basic process of shutter animation | create animation controller | create animation | set value listener | set state listener | use animation values in layout | animatio
![[error record] an error is reported in the fluent interface (no mediaquery widget ancestor found. | scaffold widgets require a mediaquery)](/img/fd/d862412db43a641537fd67f7910741.jpg)
[error record] an error is reported in the fluent interface (no mediaquery widget ancestor found. | scaffold widgets require a mediaquery)

LabVIEW安装第三方VISA软件后NI VISA失效

【数据挖掘】任务6:DBSCAN聚类

【Camera专题】Camera dtsi 完全解析
![[error record] the shutter component reports an error (no directionality widget found. | richtext widgets require a directionality)](/img/3c/93ef853784d4e7cef63f30be0b0bf2.jpg)
[error record] the shutter component reports an error (no directionality widget found. | richtext widgets require a directionality)

Pytest learning notes (12) -allure feature · @allure Step () and allure attach

Tâche 6: regroupement DBSCAN
随机推荐
[error record] navigator operation requested with a context that does not include a naviga
Introduction to kotlin collaboration
【Camera专题】手把手撸一份驱动 到 点亮Camera
[shutter] animation animation (animatedwidget animation use process | create animation controller | create animation | create animatedwidget animation component | animation operation)
【数据挖掘】任务6:DBSCAN聚类
[data mining] task 5: k-means/dbscan clustering: double square
openresty 缓存
网络安全-病毒
2022 financial product revenue ranking
Smart management of Green Cities: Digital twin underground integrated pipe gallery platform
[North Asia data recovery] data recovery case of raid crash caused by hard disk disconnection during data synchronization of hot spare disk of RAID5 disk array
The thread reuse problem of PageHelper using ThreadLocal, did you use it correctly?
函数的定义和调用、this、严格模式、高阶函数、闭包、递归
[camera topic] how to save OTP data in user-defined nodes
查询商品案例-页面渲染数据
Steps to obtain SSL certificate private key private key file
Bottleneck period must see: how can testers who have worked for 3-5 years avoid detours and break through smoothly
网络安全-ACL访问控制列表
Rockchip3399 start auto load driver
Learn the five skills you need to master in cloud computing application development