/**Begin D:\dev\tools\PDM_UPGRADE\pdm1\HAOS_constraint.sql **/
 EXEC P_ALTERPK 'PK_HAOS_ORGTEAMSRELTEMP', 'T_HAOS_ORGTEAMSRELTEMP', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HAOS_ORGTEAMSRELTEMP') CREATE INDEX IDX_HAOS_ORGTEAMSRELTEMP ON T_HAOS_ORGTEAMSRELTEMP ( FORGTEAMID );



/**End D:\dev\tools\PDM_UPGRADE\pdm1\HAOS_constraint.sql **/
