Alter table send add column type2 int NOT NULL DEFAULT '0' after id; //在send表 增加列type2 int类型 不为空 默认值为0 在列id后面加
本文介绍如何使用SQL语句在已有的send表中增加一个名为type2的列,该列为int类型,设置为不可为空,并且默认值为0,新增列位于id列之后。
Alter table send add column type2 int NOT NULL DEFAULT '0' after id; //在send表 增加列type2 int类型 不为空 默认值为0 在列id后面加
转载于:https://my.oschina.net/u/2299924/blog/3060493
您可能感兴趣的与本文相关的镜像
Kotaemon
Kotaemon 是由Cinnamon 开发的开源项目,是一个RAG UI页面,主要面向DocQA的终端用户和构建自己RAG pipeline
2903

被折叠的 条评论
为什么被折叠?