/**Begin D:\PDM_UPGRADE\PDM1\HRPTMC_constraint.sql **/
 EXEC P_ALTERPK 'PK_HRPTMC_FSTABLE', 'T_HRPTMC_FSTABLE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRPTMC_FSTABLE') CREATE INDEX IDX_HRPTMC_FSTABLE ON T_HRPTMC_FSTABLE ( FTABLENAME );


 EXEC P_ALTERPK 'PK_HRPTMC_FSENUM', 'T_HRPTMC_FSENUM', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRPTMC_FSENUM') CREATE INDEX IDX_HRPTMC_FSENUM ON T_HRPTMC_FSENUM ( FTABLENAME );


 EXEC P_ALTERPK 'PK_HRPTMC_FSFIELD', 'T_HRPTMC_FSFIELD', 'FENTRYID', '1';

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



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