/**Begin D:\PDM_UPGRADE\PDM1\POM_constraint.sql **/
 EXEC P_ALTERPK 'PK_IM_MDC_WAREHOUSE', 'T_IM_MDC_WAREHOUSE', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_IM_MDC_WAREHOUSE_MUL') CREATE INDEX IDX_T_IM_MDC_WAREHOUSE_MUL ON T_IM_MDC_WAREHOUSE ( FID );


 EXEC P_ALTERPK 'PK_IM_MDC_MATERIAL', 'T_IM_MDC_MATERIAL', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_IM_MDC_MATERIAL_MUL') CREATE INDEX IDX_T_IM_MDC_MATERIAL_MUL ON T_IM_MDC_MATERIAL ( FID );



/**End D:\PDM_UPGRADE\PDM1\POM_constraint.sql **/
