diff --git a/BES/BES_IND.SRC b/BES/BES_IND.SRC index d5b8e08a..1c563a44 100644 --- a/BES/BES_IND.SRC +++ b/BES/BES_IND.SRC @@ -16,6 +16,7 @@ create index bes_i_bes_bestelling9 on bes_bestelling (prs_perslid_key_voor); create index bes_i_bes_bestelling10 on bes_bestelling (bes_bestelling_kto_verstuurd); create index bes_i_bes_bestelling11 on bes_bestelling (bes_bestelling_parentkey); create index bes_i_bes_bestelling12 on bes_bestelling (mld_melding_key); +CREATE INDEX bes_i_bes_bestelling13 ON bes_bestelling (bes_bestelling_retourvan_key); CREATE INDEX bes_i_bes_bestelling_item1 ON bes_bestelling_item(bes_bestelopdr_item_key); create index bes_i_bes_bestelling_item2 on bes_bestelling_item(bes_bestelling_item_status); @@ -29,6 +30,7 @@ create index bes_i_bes_bestelopdr_datum on bes_bestelopdr(bes_bestelopdr_datum); create index bes_i_bes_bestelopdr_item on bes_bestelopdr_item(bes_bestelopdr_item_verwerkt); create index bes_i_bes_srtdeel1 on bes_srtdeel(bes_srtgroep_key); +CREATE UNIQUE INDEX bes_i_bes_srtdeel2 ON bes_srtdeel(bes_srtdeel_nr, prs_bedrijf_key, bes_srtgroep_key, bes_srtdeel_verwijder); CREATE INDEX bes_i_bes_srtdeel_prs_bdr_key on bes_srtdeel (prs_bedrijf_key); CREATE INDEX bes_i_bes_bestelling_item5 ON bes_bestelling_item(bes_srtdeel_key); diff --git a/_UP/DB17to18.src b/_UP/DB17to18.src index ca677f40..9ce66bc1 100644 --- a/_UP/DB17to18.src +++ b/_UP/DB17to18.src @@ -437,7 +437,9 @@ ALTER TABLE res_rsv_ruimte ADD res_rsv_ruimte_korting NUMBER(9,2) ALTER TABLE prs_kostenplaats ADD prs_kostenplaats_extern NUMBER(1) DEFAULT 0; -/////////////////////////////////////////////////////////////////////////////////////////// +/////////////////////////////////////////////////////////////////////////////////////////// FSN#26014 +CREATE INDEX bes_i_bes_bestelling13 ON bes_bestelling (bes_bestelling_retourvan_key); + /////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////// GENERAL