/**Begin D:\DBA\PDM_UPGRADE\PDM1\BCM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BCM_FORMULAMULTILINGUAL', 'T_BCM_FORMULAMULTILINGUAL', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_FORMULANUMBER') CREATE INDEX IDX_BCM_FORMULANUMBER ON T_BCM_FORMULAMULTILINGUAL ( FNUMBER );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_FORMULAMULTILINGUAL') CREATE INDEX IDX_BCM_FORMULAMULTILINGUAL ON T_BCM_FORMULAMULTILINGUAL ( FPARAMNUMBER );


 EXEC P_ALTERPK 'PK_T_BCM_FORMULAMULTILINGUAL_L', 'T_BCM_FORMULAMULTILINGUAL_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_FORMULAMULTILINGUAL_L') CREATE INDEX IDX_BCM_FORMULAMULTILINGUAL_L ON T_BCM_FORMULAMULTILINGUAL_L ( FID ,FLOCALEID );



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