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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HBSS_ENTITYREFORG') CREATE INDEX IDX_HBSS_ENTITYREFORG ON T_HBSS_ENTITYREFORG ( FVIEWID );



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