时间:2021-07-01 10:21:17 帮助过:38人阅读
创建、删除唯一约束:
db2 "alter table tabname add unique(colname)"
db2 "alter table tabname drop unique CONSTNAME "
创建主键约束:
db2 "alter table staff add primary key (id)"
db2 "alter table t_da_jkda_rkxzl drop primary key"
db2数据库创建删除主键约束和创建删除唯一键约束
标签:唯一约束 alt ble 主键约束 add table lte ons 一键