当前位置:网站首页>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边栏推荐
- 网络安全-openvas
- Caused by: com. fasterxml. jackson. databind. exc.MismatchedInputException: Cannot construct instance o
- Network security - vulnerabilities and Trojans
- ByteDance data Lake integration practice based on Hudi
- Common English Vocabulary
- Leetcode skimming questions_ Sum of two numbers II - enter an ordered array
- Network security - man in the middle attack
- VIM 9.0 is officially released! The execution speed of the new script can be increased by up to 100 times
- Wordinsert formula /endnote
- 2022 financial product revenue ranking
猜你喜欢

Why can't the start method be called repeatedly? But the run method can?

Everything文件搜索工具

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

Niuniu's ball guessing game (dynamic planning + prefix influence)

Some functions of applet development

mysql

The technology boss is ready, and the topic of position C is up to you

Tâche 6: regroupement DBSCAN
![[shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio](/img/32/fa1263d9a2e5f77b0434fce1912cb2.gif)
[shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio

小程序开发的部分功能
随机推荐
PS remove watermark details
Huakaiyun (Zhiyin) | virtual host: what is a virtual host
Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance o
Common English Vocabulary
Performance test | script template sorting, tool sorting and result analysis
Introduction to flask tutorial
[shutter] animation animation (animatedwidget animation use process | create animation controller | create animation | create animatedwidget animation component | animation operation)
Take you ten days to easily complete the go micro service series (I)
Types of map key and object key
A simple tool for analyzing fgui dependencies
网络安全-动态路由协议RIP
Network security NAT network address translation
函数的定义和调用、this、严格模式、高阶函数、闭包、递归
[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
Network security ACL access control list
Rockchip3399 start auto load driver
Network security - firewall
STM32 - switch of relay control lamp
网络安全-最简单的病毒
word插入公式/endnote