/**Begin D:\PDM_UPGRADE\PDM1\BCM_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_RPTADJDATA_SYPO') CREATE INDEX IDX_BCM_RPTADJDATA_SYPO ON T_BCM_RPTADJUSTDATA ( FSCENEID ,FYEARID ,FPERIODID ,FOLAPORG );

 EXEC P_ALTERPK 'PK_T_BCM_ISIMPORTMODE', 'T_BCM_ISIMPORTMODE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_ISIMPMODE') CREATE INDEX IDX_BCM_ISIMPMODE ON T_BCM_ISIMPORTMODE ( FSCHEMEID );



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