/**Begin D:\PDM_UPGRADE\PDM1\HOM_constraint.sql **/
 EXEC P_ALTERPK 'PK_HOM_ONBRDGUIDECONFIG', 'T_HOM_ONBRDGUIDECONFIG', 'FID', '1';

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


 EXEC P_ALTERPK 'PK_HOM_ONBRDGUIDECONFIG_L', 'T_HOM_ONBRDGUIDECONFIG_L', 'FPKID', '1';

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



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