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

 EXEC P_ALTERPK 'PK_T_BCM_INTRREPORT', 'T_BCM_INTRREPORT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_INTRREPORT') CREATE INDEX IDX_BCM_INTRREPORT ON T_BCM_INTRREPORT ( FTEMPLATEID ,FENTITYID ,FSCENEID ,FYEARID ,FPERIODID ,FCURRENCYID );


 EXEC P_ALTERPK 'PK_T_BCM_INTRREPORT_S', 'T_BCM_INTRREPORT_S', 'FID', '1';

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