/**Begin D:\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\SIM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_SIM_RED_CONFIRM_FREIGHT', 'T_SIM_RED_CONFIRM_FREIGHT', 'FENTRYID', '1';

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

/**End D:\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\SIM_constraint.sql **/
