/**Begin D:\pdm\PDM_UPGRADE\PDM1\HRPTMC_constraint.sql **/

 EXEC P_ALTERPK 'PK_HRPTMC_REPORTMARK', 'T_HRPTMC_REPORTMARK', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRPTMC_REPORTMARK') CREATE INDEX IDX_HRPTMC_REPORTMARK ON T_HRPTMC_REPORTMARK ( FRPTMANAGEID );


 EXEC P_ALTERPK 'PK_HRPTMC_RPTMARKCONTENT', 'T_HRPTMC_RPTMARKCONTENT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRPTMC_RPTMARKCONTENT') CREATE INDEX IDX_HRPTMC_RPTMARKCONTENT ON T_HRPTMC_RPTMARKCONTENT ( FRPTMARKID ,FLOCALE );

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