Skip to content

Commit

Permalink
Update 211_nhr_views.sql
Browse files Browse the repository at this point in the history
aanpassing gedaan
  • Loading branch information
KJLammers authored Oct 22, 2024
1 parent 5f1b004 commit ff3d8dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datamodel/extra_scripts/oracle/211_nhr_views.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ group by s.naam, coalesce(v.fk_15ond_kvk_nummer, v.fk_17mac_kvk_nummer);
-- koppel subject en vestg tabel met het adresseerbaarobject
create materialized view mb_kvk_adres as
select
cast(rownum as integer) as objectid,
row_number() OVER ()::integer AS objectid,
v.sc_identif,
-- fk_15ond_kvk_nummer = kvknummer voor onderneming
-- fk_17mac_kvk_nummer = kvknummer voor maatschappelijke activiteit (niet commercieel)
Expand Down Expand Up @@ -191,4 +191,4 @@ values ('mb_kvk_perceel', 'geometrie',

CREATE INDEX mb_kvk_perceel_geometrie_idx ON mb_kvk_perceel (geometrie) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
CREATE UNIQUE INDEX mb_kvk_perceel_objectid ON mb_kvk_perceel (objectid);
CREATE INDEX mb_kvk_perceel_perceelsidentificatie ON mb_kvk_perceel (perceelsidentificatie);
CREATE INDEX mb_kvk_perceel_perceelsidentificatie ON mb_kvk_perceel (perceelsidentificatie);

0 comments on commit ff3d8dd

Please sign in to comment.