/**Begin D:\PDM_UPGRADE\PDM1\HBSS_constraint.sql **/
 EXEC P_ALTERPK 'PK_HBSS_CAPITEMFWENTRY', 'T_HBSS_CAPITEMFWENTRY', 'FENTRYID', '1';

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


 EXEC P_ALTERPK 'PK_HBSS_CAPITEMNGENTRY', 'T_HBSS_CAPITEMNGENTRY', 'FENTRYID', '1';

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



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