/**Begin D:\PDM_UPGRADE\PDM1\HBSS_constraint.sql **/
 EXEC P_ALTERPK 'PK_HBSS_PARAMWHITELIST', 'T_HBSS_PARAMWHITELIST', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HBSS_PARAMWHITELIST') CREATE INDEX IDX_HBSS_PARAMWHITELIST ON T_HBSS_PARAMWHITELIST ( FBASEDATA );

 EXEC P_ALTERPK 'PK_HBSS_PARAMWHITEDET', 'T_HBSS_PARAMWHITEDET', 'FENTRYID', '1';

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



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