/**Begin D:\dev\tools\PDM_UPGRADE\pdm1\HAOS_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HAOS_PROJTEAMBASE_BO') CREATE INDEX IDX_HAOS_PROJTEAMBASE_BO ON T_HAOS_PROJTEAMBASE ( FBOID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HAOS_PROJTEAMBASE_PID') CREATE INDEX IDX_HAOS_PROJTEAMBASE_PID ON T_HAOS_PROJTEAMBASE ( FPARENTID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HAOS_PROJTEAMBASE_BORG') CREATE INDEX IDX_HAOS_PROJTEAMBASE_BORG ON T_HAOS_PROJTEAMBASE ( FBELONGADMINORGID );


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