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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HBSS_LABORRELSTATUS_EX') CREATE INDEX IDX_HBSS_LABORRELSTATUS_EX ON T_HBSS_LABORRELSTATUS_EX ( FID ,FBASEDATAID );


 EXEC P_ALTERPK 'PK_HBSS_POSTSTATE_EX', 'T_HBSS_POSTSTATE_EX', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HBSS_POSTSTATE_EX') CREATE INDEX IDX_HBSS_POSTSTATE_EX ON T_HBSS_POSTSTATE_EX ( FID ,FBASEDATAID );



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