摘要: 表定义完了后给字段加约束比较常见,毕竟变化是唯一不变的。 1.加主键 alter table table_name add primary key(id); 2.加唯一性约束 alter table table_name add unique(code); 3.给number类型字段status加输 阅读全文
posted @ 2021-10-27 21:16 逆火狂飙 阅读(211) 评论(1) 推荐(0)