/**Begin C:\PDM_UPGRADE\PDM1\SRM_constraint.sql **/
 EXEC P_ALTERPK 'PK_SRM_CHGPICENTRY', 'T_SRM_CHGPICENTRY', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_PUR_PICCHGENTRY_FID_FSEQ') CREATE INDEX IDX_PUR_PICCHGENTRY_FID_FSEQ ON T_SRM_CHGPICENTRY ( FID ,FSEQ );



/**End C:\PDM_UPGRADE\PDM1\SRM_constraint.sql **/
