UNIQUE添加方式:
alter table (表名)add unique(约束名);
NOT NULL添加方式:
alter table (表名) modify (字段名) char(10) not null;
在添加NOT NULL需要指定列名(字段名)
alter table (表名)add unique(约束名);
alter table (表名) modify (字段名) char(10) not null;
在添加NOT NULL需要指定列名(字段名)