/**Begin D:\PDM\PDM_UPGRADE\pdm1\BCM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BCM_DATACOMPARISONTABLE', 'T_BCM_DATACOMPARISONTABLE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_DATACOM_EFPC') CREATE INDEX IDX_BCM_DATACOM_EFPC ON T_BCM_DATACOMPARISONTABLE ( FENTITY ,FFY ,FPERIOD ,FCURRENCY );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_DATACOM_SCHEME') CREATE INDEX IDX_BCM_DATACOM_SCHEME ON T_BCM_DATACOMPARISONTABLE ( FSCHEME );


 EXEC P_ALTERPK 'PK_T_BCM_DSADJUSTDATA', 'T_BCM_DSADJUSTDATA', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_DSADJUSTDATA_EFPC') CREATE INDEX IDX_BCM_DSADJUSTDATA_EFPC ON T_BCM_DSADJUSTDATA ( FENTITY ,FFY ,FPERIOD ,FCURRENCY );



/**End D:\PDM\PDM_UPGRADE\pdm1\BCM_constraint.sql **/
