/**Begin D:\PDM_UPGRADE\PDM1\BCM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BCM_STRUCTOFENTPART', 'T_BCM_STRUCTOFENTPART', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_STRUCTOFENTPART') CREATE INDEX IDX_BCM_STRUCTOFENTPART ON T_BCM_STRUCTOFENTPART ( FMERGERNODE ,FISOFFSETENTRY );



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