摘要:
命令: 有默认值时用:alter table 表名 DROP 约束 alter table 表名 DROP COLUMN 列名 例如: alter table LJEL005H DROP COLUMN el_req 注意: 如果有默认值先删除约束,否则报错: --消息 5074,级别 16,状态 1 阅读全文
posted @ 2022-08-25 16:31
侬侬发
阅读(146)
评论(0)
推荐(0)
摘要:
命令: ALTER TABLE 表名 add 列名 数据类型 default 默认值 not null 例如: ALTER TABLE LJEL005H add el_req int default 15 not null 阅读全文
posted @ 2022-08-25 16:26
侬侬发
阅读(125)
评论(0)
推荐(0)

浙公网安备 33010602011771号