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

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


 EXEC P_ALTERPK 'PK_T_BCM_MODELFILTERMETANAME_L', 'T_BCM_MODELFILTERMETANAME_L', 'FPKID', '1';

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



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