创建索引:
alter table AUTH_ORGANIZATION_TB
add constraint UNIC_U_ERPCODE unique (U_ERPCODE)
AUTH_ORGANIZATION_TB :表名
unic_u_erpcode:自定义的唯一约束名称
u_erpcode:设置成唯一约束的字段名称
删除索引:
alter table AUTH_ORGANIZATION_TB drop constraint UNIC_U_ERPCODE;
创建索引:
alter table AUTH_ORGANIZATION_TB
add constraint UNIC_U_ERPCODE unique (U_ERPCODE)
unic_u_erpcode:自定义的唯一约束名称
u_erpcode:设置成唯一约束的字段名称
删除索引:
alter table AUTH_ORGANIZATION_TB drop constraint UNIC_U_ERPCODE;