当前位置:网站首页>How MySQL deletes a column in a database table
How MySQL deletes a column in a database table
2022-06-22 18:57:00 【1024 Q】
Delete a column in the database table
Mysql Delete column , Add columns sql sentence
Delete a column in the database tableDelete the value of a field
update table_name SET field_name = '';Delete a column
ALTER TABLE table_name DROP COLUMN field_name;Mysql Delete column , Add columns sql sentence There is a watch actor, And contains columns last_name
-- Delete column , Either way alter table actor drop column last_name;alter table actor drop last_name;-- Add columns , You must specify the type of column alter table actor add last_name varchar(10);The above is personal experience , I hope I can give you a reference , I also hope you can support the software development network .
边栏推荐
- Does CDC 2.2.1 monitoring sqlserver not support monitoring multiple databases?
- 今天19:30 | 科普大佬说,带大家探寻AI如何激发人类的创造力
- plsql变量赋值问题
- Activity跳转到Fragment的方法(Intent)
- Redis usage scenario sharing (project practice)
- @“齐鲁多娇”幸运用户,山东5A景区喊你免费游园啦!
- Golang implements redis (10): local atomic transactions
- Pre training language model, Bert, roformer SIM, also known as simbertv2
- 请问一下flink mysql-cdc 如何保证server_id全局唯一呢?
- 【 outils】 utilisation de PIP et de conda
猜你喜欢

写一本畅销书是怎样的一种体验

详解openGauss多线程架构启动过程

@“齐鲁多娇”幸运用户,山东5A景区喊你免费游园啦!

Linked list 4- 21 merge two ordered linked lists

Killed by the script, and "resurrected" by camping
![[轻松学会shell编程]-4、单引号和双引号的区别、整形数值的运算、shell中数组定义和sed的详细用法](/img/88/5d8800e5723b4e34e832271d139eaa.png)
[轻松学会shell编程]-4、单引号和双引号的区别、整形数值的运算、shell中数组定义和sed的详细用法

2022年G2电站锅炉司炉题库及在线模拟考试

SystemVerilog(十二)-$unit声明空间

如何持续突破性能表现? | DX研发模式
![Azkaban startup error 2022/06/20 21:39:27.726 +0800 error [stdouterrredirect] [azkaban] exception in thread](/img/02/2e402f05022b36dc48ff47232e8535.png)
Azkaban startup error 2022/06/20 21:39:27.726 +0800 error [stdouterrredirect] [azkaban] exception in thread "m
随机推荐
知乎热问:一个程序员的水平能差到什么程度?
docker: Error response from daemon: Conflict. The container name “/mysql“ is already in use by conta
新东方转型双语直播带货给项目管理人的一场课
China's two meteorological "new stars" data products are shared with global users
【工具】pip和conda的相關使用
请问一下,CDC2.0在读取mysql的时候,应该是没有表锁了吧,刚刚报了一个错误,access d
Custom database connection pool class: requirement: enclose the collection class of a collection object
【 outils】 utilisation de PIP et de conda
Sort---
国产手机干翻苹果?原来是靠百元机和猛降价实现的
Mise en œuvre de redis par golang (10): transactions atomiques locales
d的dip1000,1
2022 Chongqing preschool education industry exhibition 𞓜 hi tech Toy Puzzle decompression Toy Expo
Oculus学习笔记之控制器输入初步(一)
中国两颗风云气象“新星”数据产品向全球用户共享
线程池:ThreadPoolExcutor源码阅读
Makefile将某一部分文件不编译
不断重修的计划与变化
Redis usage scenario sharing (project practice)
@Lucky user of "Qilu Duojiao", Shandong 5A scenic spot calls you to visit the park for free!