/**Begin D:\PDM_UPGRADE\PDM1\IFM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_IFM_INTOBJECT', 'T_IFM_INTOBJECT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_IFM_INTOBJECT_FINNERACCTID') CREATE INDEX IDX_IFM_INTOBJECT_FINNERACCTID ON T_IFM_INTOBJECT ( FINNERACCTID );


 EXEC P_ALTERPK 'PK_T_IFM_INTOBJECT_L', 'T_IFM_INTOBJECT_L', 'FPKID', '0';

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



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