sql 建立表的唯一性约束
alter table T_KPI_Position add constraint KPIPosition_CONS unique(FCompanyID,FDeptID,FNumber) --FCompanyID,FDeptID,FNumber 为表的唯一性约束字段
alter table T_KPI_Position add constraint KPIPosition_CONS unique(FCompanyID,FDeptID,FNumber) --FCompanyID,FDeptID,FNumber 为表的唯一性约束字段