alter table t_users add constraint PK_UID primary key(userId) //设置主键
alter table t_users alter column UserID int not null //设置非空
alter table t_users add constraint PK_UID primary key(userId) //设置主键
alter table t_users alter column UserID int not null //设置非空