/**Begin D:\PDM_UPGRADE\PDM1\FCS_constraint.sql **/


 EXEC P_ALTERPK 'PK_T_FCS_SAFETYINSPECT_R', 'T_FCS_SAFETYINSPECT_R', 'FENTRYID', '1';

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

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