/**Begin D:\PDM_UPGRADE\PDM1\HBSS_constraint.sql **/
 EXEC P_ALTERPK 'PK_HBSS_BREAKUPREASON_L', 'T_HBSS_BREAKUPREASON_L', 'FPKID', '1';

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


 EXEC P_ALTERPK 'PK_HBSS_BREAKUPREASON', 'T_HBSS_BREAKUPREASON', 'FID', '1';

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


 EXEC P_ALTERPK 'PK_HBSS_BREAKUPTYPE_L', 'T_HBSS_BREAKUPTYPE_L', 'FPKID', '1';

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


 EXEC P_ALTERPK 'PK_HBSS_BREAKUPTYPE', 'T_HBSS_BREAKUPTYPE', 'FID', '1';

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



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