/**Begin D:\PDM_UPGRADE\PDM1\HOM_constraint.sql **/
 EXEC P_ALTERPK 'PK_HOM_LEADER', 'T_HOM_LEADER', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HOM_LEADER') CREATE INDEX IDX_HOM_LEADER ON T_HOM_LEADER ( FID );



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