spool xconn#554.lst

CREATE TABLE tmp
(F1 													VARCHAR2(256)
,F2 													VARCHAR2(256)
,F3 													VARCHAR2(256)
,F4 													VARCHAR2(256)
,F5 													VARCHAR2(256)
,F6 													VARCHAR2(256)
,F7 													VARCHAR2(256)
,F8 													VARCHAR2(256)
,F9 													VARCHAR2(256)
,F10 													VARCHAR2(256)
);


set define off;

INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2002', 'Amstelveen 2002 Th. Cookstraat', 'A', 'A - A', '11082', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2003', 'Amsterdam 2003 Oosterdokskade ', 'A', 'A - A', '20836', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2004', 'Amsterdam Z-O 2004 Hoogoorddre', 'A', 'A - A', '13396', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2004', 'Amsterdam Z-O 2004 Hoogoorddre', 'B', 'B - B', '13442', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2004', 'Amsterdam Z-O 2004 Hoogoorddre', 'D', 'D - D', '13479', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2005', 'Amsterdam 2005 Marnixstraat/ E', 'A', 'A - A', '16113', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2006', 'Den Burg Texel 2006 Wezenland ', 'B', 'B - B', '15113', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2007', 'Edam 2007 Beitelstraat 69 ', 'A', 'A - A', '15123', 'A', NULL, NULL, NULL
, NULL); 
--INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
--'2009', 'Haarlem 2009 Waarderweg 50 ', 'D', 'D - D', '13642', 'A', NULL, NULL, NULL
--, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'B', 'B - B', '12975', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'A', 'A - A', '12895', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2010', 'Haarlem 2010 Stationsplein 12-', 'G', 'G - G', '11046', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2010', 'Haarlem 2010 Stationsplein 12-', 'F', 'F - F', '11036', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2010', 'Haarlem 2010 Stationsplein 12-', 'E', 'E - E', '11026', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2010', 'Haarlem 2010 Stationsplein 12-', 'D', 'D - D', '11011', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2010', 'Haarlem 2010 Stationsplein 12-', 'C', 'C - C', '10997', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2010', 'Haarlem 2010 Stationsplein 12-', 'B', 'B - B', '10980', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2010', 'Haarlem 2010 Stationsplein 12-', 'A', 'A - A', '10966', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'J', 'J - J', '13097', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'I', 'I - I', '13093', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'H', 'H - H', '13077', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'G', 'G - G', '13071', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'F', 'F - F', '13067', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'E', 'E - E', '13064', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'D', 'D - D', '13050', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'C', 'C - C', '12985', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2023', 'Lisse 2023 Meer en Duin 37 ', 'A', 'A - A', '20669', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2021', 'Hoorn 2021 Stationsplein/Spoor', 'C', 'C - C', '13165', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2021', 'Hoorn 2021 Stationsplein/Spoor', 'B', 'B - B', '13143', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2021', 'Hoorn 2021 Stationsplein/Spoor', 'A', 'A - A', '13127', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2018', 'Hoofddorp 2018 Parellaan 2 ', 'D', 'D - D', '13355', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2018', 'Hoofddorp 2018 Parellaan 2 ', 'C', 'C - C', '13351', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2018', 'Hoofddorp 2018 Parellaan 2 ', 'B', 'B - B', '13336', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2018', 'Hoofddorp 2018 Parellaan 2 ', 'A', 'A - A', '13308', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2016', 'Den Helder 2016 Koopmanweg 2 ', 'D', 'D - D', '13208', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2039', 'Zaandam 2039 Sluispolderweg 12', 'B', 'B - B', '13536', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2039', 'Zaandam 2039 Sluispolderweg 12', 'A', 'A - A', '13485', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2035', 'Uithoorn 2035 Sportlaan 15 ', 'D', 'D - D', '13253', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2035', 'Uithoorn 2035 Sportlaan 15 ', 'C', 'C - C', '13244', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2035', 'Uithoorn 2035 Sportlaan 15 ', 'B', 'B - B', '13238', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2035', 'Uithoorn 2035 Sportlaan 15 ', 'A', 'A - A', '13211', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2034', 'Uithoorn 2034 Marijnenlaan 44 ', 'A', 'A - A', '16114', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2033', 'Schiphol 2033 Cateringweg 12 ', 'B', 'B - B', '15227', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2033', 'Schiphol 2033 Cateringweg 12 ', 'A', 'A - A', '15189', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2802', 'Haarlem 2802 Waarderweg 48 ', 'B', 'B - B', '16117', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2802', 'Haarlem 2802 Waarderweg 48 ', 'A', 'A - A', '16116', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2800', 'Alkmaar 2800 Hertog Aalbrechtw', 'B', 'B - B', '22396', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2800', 'Alkmaar 2800 Hertog Aalbrechtw', 'A', 'A - A', '21199', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2560', 'Zaandam 2560 sluispolder', 'A', 'A - A', '23939', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2532', 'Nieuw-Vennep 2532 Venneper  NS', 'A', 'A - A', '23579', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2521', 'Hoofddorp 2521 Station NS', 'A', 'A - A', '23240', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2510', 'Edam 2510 Egbert Snijderplein ', 'A', 'A - A', '11053', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2056', 'Haarlem 2056 Jan v Krimpenw', 'A', 'A - A', '24462', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3002', 'Almere Buiten 3002 Splijtbakwe', 'A', 'A - A', '15248', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3001', 'Almere Haven 3001 De Steiger 4', 'A', 'A - A', '12729', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3000', 'Almelo 3000 Noordbroek 6 ', 'C', 'C - C', '14282', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3000', 'Almelo 3000 Noordbroek 6 ', 'B', 'B - B', '14275', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3000', 'Almelo 3000 Noordbroek 6 ', 'A', 'A - A', '14241', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2804', 'Velsen-Zuid 2804 Amsterdamse', 'B', 'B - B', '16120', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2804', 'Velsen-Zuid 2804 Amsterdamse', 'A', 'A - A', '16119', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2803', 'Heemskerk 2803 Lijnbaan 28 ', 'A', 'A - A', '15148', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2802', 'Haarlem 2802 Waarderweg 48 ', 'C', 'C - C', '16118', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', 'H', 'H - H', '14185', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', 'G', 'G - G', '14182', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', 'F', 'F - F', '14179', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', 'E', 'E - E', '14176', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', 'D', 'D - D', '14173', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', 'C', 'C - C', '14142', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', 'B', 'B - B', '14132', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', 'A', 'A - A', '14102', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3010', 'Apeldoorn 3010 Wapenrustlaan 1', 'A', 'A - A', '14294', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3006', 'Amersfoort 3006 Havenw  40/42 ', 'B', 'B - B', '12564', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3006', 'Amersfoort 3006 Havenw  40/42 ', 'A', 'A - A', '12549', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3003', 'Almere Stad 3003 Busplein 1 ', 'A', 'A - A', '10947', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3054', 'Zeist 3054 Huis ter Heideweg 8', 'C', 'C - C', '12422', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3054', 'Zeist 3054 Huis ter Heideweg 8', 'B', 'B - B', '12397', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3054', 'Zeist 3054 Huis ter Heideweg 8', 'A', 'A - A', '12358', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3052', 'Ijsselmuiden  3052  Spoorstr 3', 'B', 'B - B', '14876', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3052', 'Ijsselmuiden  3052  Spoorstr 3', 'A', 'A - A', '14863', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3051', 'Wijk bij Duurstede 3051 De Lan', 'A', 'A - A', '21133', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3050', 'Wijk bij Duurstede 3050 De Lan', 'A', 'A - A', '14844', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3044', 'Utrecht 3044 Stationsplein 1 ', 'A', 'A - A', '23439', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3041', 'Raalte 3041 Stationsstraat 1 a', 'C', 'C - C', '14841', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3041', 'Raalte 3041 Stationsstraat 1 a', 'B', 'B - B', '14838', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3041', 'Raalte 3041 Stationsstraat 1 a', 'A', 'A - A', '14831', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3040', 'Ootmarsum 3040 De Mors 2 ', 'B', 'B - B', '14828', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3040', 'Ootmarsum 3040 De Mors 2 ', 'A', 'A - A', '14819', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3039', 'Ommen 3039 Stationsweg 36 ', 'B', 'B - B', '14816', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3039', 'Ommen 3039 Stationsweg 36 ', 'A', 'A - A', '14809', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3037', 'Nieuwegein ( City Plaza) 3037 ', 'A', 'A - A', '21248', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3036', 'Nieuwegein 3036 Remiseweg 1 ', 'H', 'H - H', '12882', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3036', 'Nieuwegein 3036 Remiseweg 1 ', 'G', 'G - G', '12840', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3036', 'Nieuwegein 3036 Remiseweg 1 ', 'F', 'F - F', '12836', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3036', 'Nieuwegein 3036 Remiseweg 1 ', 'E', 'E - E', '12832', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3036', 'Nieuwegein 3036 Remiseweg 1 ', 'D', 'D - D', '12828', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3036', 'Nieuwegein 3036 Remiseweg 1 ', 'C', 'C - C', '12801', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3036', 'Nieuwegein 3036 Remiseweg 1 ', 'B', 'B - B', '12796', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3036', 'Nieuwegein 3036 Remiseweg 1 ', 'A', 'A - A', '12779', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3034', 'Neede 3034 Parallelweg 28 ', 'D', 'D - D', '14099', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3034', 'Neede 3034 Parallelweg 28 ', 'C', 'C - C', '14096', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3034', 'Neede 3034 Parallelweg 28 ', 'B', 'B - B', '14082', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3034', 'Neede 3034 Parallelweg 28 ', 'A', 'A - A', '14069', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3032', 'Huizen 3032 Gr. Wichman 3 ', 'A', 'A - A', '14797', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3029', 'Hilversum 3029 Larenseweg 1 ', 'A', 'A - A', '12673', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3028', 'Hilversum (computer) 3028 Stat', 'A', 'A - A', '23279', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3023', 'Enschede 3023 Kottendijk 21 ', 'E', 'E - E', '14608', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3023', 'Enschede 3023 Kottendijk 21 ', 'D', 'D - D', '14595', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3023', 'Enschede 3023 Kottendijk 21 ', 'C', 'C - C', '14589', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3023', 'Enschede 3023 Kottendijk 21 ', 'B', 'B - B', '14580', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3023', 'Enschede 3023 Kottendijk 21 ', 'A', 'A - A', '14508', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3022', 'Enschede 3022 Marssteden 30 ', 'D', 'D - D', '14458', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3022', 'Enschede 3022 Marssteden 30 ', 'C', 'C - C', '14455', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3022', 'Enschede 3022 Marssteden 30 ', 'B', 'B - B', '14408', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3022', 'Enschede 3022 Marssteden 30 ', 'A', 'A - A', '14389', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3021', 'Emmeloord 3021 Produktieweg 4 ', 'B', 'B - B', '14711', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3021', 'Emmeloord 3021 Produktieweg 4 ', 'A', 'A - A', '14695', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3018', 'Doetinchem 3018 Erdbrinkplein ', 'D', 'D - D', '13987', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3018', 'Doetinchem 3018 Erdbrinkplein ', 'C', 'C - C', '13979', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3018', 'Doetinchem 3018 Erdbrinkplein ', 'B', 'B - B', '13950', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3018', 'Doetinchem 3018 Erdbrinkplein ', 'A', 'A - A', '13929', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3015', 'Bemmel 3015 Karstraat 12 ', 'C', 'C - C', '14692', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3015', 'Bemmel 3015 Karstraat 12 ', 'B', 'B - B', '14689', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3015', 'Bemmel 3015 Karstraat 12 ', 'A', 'A - A', '14672', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2055', 'Velsen Zuid 2055 Amsterdamse', 'A', 'A - A', '24259', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2041', 'Zandvoort 2041 L. Davidstraat ', 'D', 'D - D', '11159', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2041', 'Zandvoort 2041 L. Davidstraat ', 'C', 'C - C', '11156', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2041', 'Zandvoort 2041 L. Davidstraat ', 'B', 'B - B', '11150', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2041', 'Zandvoort 2041 L. Davidstraat ', 'A', 'A - A', '11136', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2040', 'Zaandam 2040 Peperstraat ong ', 'A', 'A - A', '16115', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2039', 'Zaandam 2039 Sluispolderweg 12', 'D', 'D - D', '13551', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2039', 'Zaandam 2039 Sluispolderweg 12', 'C', 'C - C', '13548', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2032', 'Luchthaven Schiphol 2032 Pakhu', 'A', 'A - A', '23202', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2029', 'Purmerend 2029 Tramplein 20- V', 'A', 'A - A', '11107', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2028', 'Purmerend 2028 Grotenhuysweg 9', 'A', 'A - A', '11060', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2027', 'Purmerend 2027 Nieuwe Gouwe 8 ', 'E', 'E - E', '13754', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2027', 'Purmerend 2027 Nieuwe Gouwe 8 ', 'D', 'D - D', '13751', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2027', 'Purmerend 2027 Nieuwe Gouwe 8 ', 'C', 'C - C', '13748', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2027', 'Purmerend 2027 Nieuwe Gouwe 8 ', 'A', 'A - A', '13703', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2024', 'Den Oever 2024 Havenweg 2 (N99', 'A', 'A - A', '15237', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2016', 'Den Helder 2016 Koopmanweg 2 ', 'C', 'C - C', '13205', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2016', 'Den Helder 2016 Koopmanweg 2 ', 'B', 'B - B', '13192', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2016', 'Den Helder 2016 Koopmanweg 2 ', 'A', 'A - A', '13170', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2015', 'Den Helder 2015 Parallelweg 2 ', 'A', 'A - A', '11068', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2007', 'Edam 2007 Beitelstraat 69 ', 'B', 'B - B', '15141', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2006', 'Den Burg Texel 2006 Wezenland ', 'C', 'C - C', '15117', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2006', 'Den Burg Texel 2006 Wezenland ', 'A', 'A - A', '15106', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2004', 'Amsterdam Z-O 2004 Hoogoorddre', 'E', 'E - E', '13482', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2000', 'Alkmaar 2000 Helderseweg 55-57', 'D', 'D - D', '13835', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2000', 'Alkmaar 2000 Helderseweg 55-57', 'C', 'C - C', '13832', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2000', 'Alkmaar 2000 Helderseweg 55-57', 'B', 'B - B', '13819', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2000', 'Alkmaar 2000 Helderseweg 55-57', 'A', 'A - A', '13794', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1805', 'Schiedam 1805 Gravelandseweg', 'B', 'B - B', '15300', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1805', 'Schiedam 1805 Gravelandseweg', 'A', 'A - A', '16112', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1599', 'Brielle 1599 Seggelant-Oost 1A', 'A', 'A - A', '24079', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1055', 'Wemeldinge 1055 Choorhoekseweg', 'A', 'A - A', '21519', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1052', 'Leimuiden 1052 Tuinderij 5 ', 'D', 'D - D', '13392', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1052', 'Leimuiden 1052 Tuinderij 5 ', 'C', 'C - C', '13389', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1052', 'Leimuiden 1052 Tuinderij 5 ', 'B', 'B - B', '13378', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1052', 'Leimuiden 1052 Tuinderij 5 ', 'A', 'A - A', '13360', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1045', 'Zoetermeer 1045 Kelvinstraat 5', 'D', 'D - D', '12112', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1045', 'Zoetermeer 1045 Kelvinstraat 5', 'C', 'C - C', '12093', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1045', 'Zoetermeer 1045 Kelvinstraat 5', 'B', 'B - B', '12090', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1045', 'Zoetermeer 1045 Kelvinstraat 5', 'A', 'A - A', '12087', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1043', 'Zierikzee 1043 Grachtweg 24 + ', 'A', 'A - A', '23659', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1041', 'Spijkenisse 1041 Hofweg 22 ', 'C', 'C - C', '11666', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1041', 'Spijkenisse 1041 Hofweg 22 ', 'B', 'B - B', '11642', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1041', 'Spijkenisse 1041 Hofweg 22 ', 'A', 'A - A', '11621', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1039', 'Schoonhoven 1039 Stationsplein', 'A', 'A - A', '12334', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1036', 'Ridderkerk 1036 Leidekkerstraa', 'E', 'E - E', '16110', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1036', 'Ridderkerk 1036 Leidekkerstraa', 'D', 'D - D', '11519', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1036', 'Ridderkerk 1036 Leidekkerstraa', 'C', 'C - C', '11511', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1036', 'Ridderkerk 1036 Leidekkerstraa', 'B', 'B - B', '11491', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1036', 'Ridderkerk 1036 Leidekkerstraa', 'A', 'A - A', '11480', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1035', 'Oudewater 1035 Molenstraat 1 a', 'A', 'A - A', '11278', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1034', 'Oude Tonge 1034 Tramweg 1 ', 'C', 'C - C', '16109', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1034', 'Oude Tonge 1034 Tramweg 1 ', 'B', 'B - B', '16108', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1034', 'Oude Tonge 1034 Tramweg 1 ', 'A', 'A - A', '16107', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1033', 'Oude Tonge 1033 Stationsweg 35', 'A', 'A - A', '16106', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1030', 'Monster 1030 Groote Noort 14 ', 'C', 'C - C', '15021', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1030', 'Monster 1030 Groote Noort 14 ', 'B', 'B - B', '15012', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1030', 'Monster 1030 Groote Noort 14 ', 'A', 'A - A', '14991', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1029', 'Middelburg 1029 Industrieweg 7', 'C', 'C - C', '11834', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1029', 'Middelburg 1029 Industrieweg 7', 'B', 'B - B', '11825', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1029', 'Middelburg 1029 Industrieweg 7', 'A', 'A - A', '11797', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1026', 'Maasland 1026 Transportweg 24 ', 'A', 'A - A', '20897', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1025', 'Leidschendam 1025 Veursestraat', 'D', 'D - D', '12243', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1025', 'Leidschendam 1025 Veursestraat', 'C', 'C - C', '12240', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1025', 'Leidschendam 1025 Veursestraat', 'B', 'B - B', '12235', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1025', 'Leidschendam 1025 Veursestraat', 'A', 'A - A', '12212', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1024', 'Leiden 1024 Stationsplein 3  ', 'A', 'A - A', '10939', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1023', 'Leiden 1023 Rijnsburgerweg 1 ', 'B', 'B - B', '12166', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1023', 'Leiden 1023 Rijnsburgerweg 1 ', 'A', 'A - A', '12139', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1021', 'Krimpen aan den Ijssel 1021 In', 'C', 'C - C', '11468', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1021', 'Krimpen aan den Ijssel 1021 In', 'B', 'B - B', '11452', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1021', 'Krimpen aan den Ijssel 1021 In', 'A', 'A - A', '11420', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1019', 'Hellevoetssluis 1019 Ampereweg', 'C', 'C - C', '11617', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1019', 'Hellevoetssluis 1019 Ampereweg', 'B', 'B - B', '11613', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1019', 'Hellevoetssluis 1019 Ampereweg', 'A', 'A - A', '11589', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1018', 'Heinenoord 1018 Reedijk 7a ', 'C', 'C - C', '11714', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1018', 'Heinenoord 1018 Reedijk 7a ', 'B', 'B - B', '11692', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1018', 'Heinenoord 1018 Reedijk 7a ', 'A', 'A - A', '11669', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1017', 'Heinenoord 1017 Reedijk 6 ', 'A', 'A - A', '16105', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1014', 'Den Haag 1014 Houtwijklaan', 'D', 'D - D', '11261', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1014', 'Den Haag 1014 Houtwijklaan', 'C', 'C - C', '11258', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1014', 'Den Haag 1014 Houtwijklaan', 'B', 'B - B', '11235', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1014', 'Den Haag 1014 Houtwijklaan', 'A', 'A - A', '11202', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1013', 'Gouda 1013 Stationsplein 1a ', 'A', 'A - A', '21073', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1012', 'Gouda 1012 Nieuwe Gouwe OZ 2 ', 'B', 'B - B', '11268', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1012', 'Gouda 1012 Nieuwe Gouwe OZ 2 ', 'A', 'A - A', '11264', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1009', 'Delft 1009 Schieweg 80 ', 'D', 'D - D', '11379', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1009', 'Delft 1009 Schieweg 80 ', 'C', 'C - C', '11371', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1009', 'Delft 1009 Schieweg 80 ', 'B', 'B - B', '11344', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1009', 'Delft 1009 Schieweg 80 ', 'A', 'A - A', '11318', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1008', 'Delft 1008 Gandhilaan/Tanthof', 'A', 'A - A', '21292', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1007', 'Burgh Haamstede 1007 De Roteri', 'C', 'C - C', '11794', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1007', 'Burgh Haamstede 1007 De Roteri', 'B', 'B - B', '11790', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1007', 'Burgh Haamstede 1007 De Roteri', 'A', 'A - A', '11780', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1006', 'Breskens 1006 Veerplein 3 ', 'A', 'A - A', '23500', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1005', 'Boskoop 1005 Hoogeveenseweg 7 ', 'C', 'C - C', '11972', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1005', 'Boskoop 1005 Hoogeveenseweg 7 ', 'B', 'B - B', '11968', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2001', 'Alkmaar 2001 Stationsweg 51 ', 'A', 'A - A', '15024', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2000', 'Alkmaar 2000 Helderseweg 55-57', 'F', 'F - F', '13847', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2000', 'Alkmaar 2000 Helderseweg 55-57', 'E', 'E - E', '13844', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1005', 'Boskoop 1005 Hoogeveenseweg 7 ', 'A', 'A - A', '11926', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1004', 'Boskoop 1004 Hoogeveenseweg 5-', 'A', 'A - A', '11976', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1003', 'Axel 1003 Kinderdijk 35 ', 'D', 'D - D', '11923', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1003', 'Axel 1003 Kinderdijk 35 ', 'C', 'C - C', '11914', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1003', 'Axel 1003 Kinderdijk 35 ', 'B', 'B - B', '11904', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1003', 'Axel 1003 Kinderdijk 35 ', 'A', 'A - A', '11888', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1002', 'Alphen aan den Rijn 1002 H. Ka', 'A', 'A - A', '14978', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1001', 'Alphen aan den Rijn 1001 Stati', 'A', 'A - A', '11189', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1000', 'Aardenburg 1000 Draaibrug 69 ', 'B', 'B - B', '11874', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1000', 'Aardenburg 1000 Draaibrug 69 ', 'A', 'A - A', '11870', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'4514', 'Ede 4514 Buys Ballotstraat 4', 'A', 'A - A', '23519', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'4512', 'Alblasserdam 4512 Parc', 'A', 'A - A', '23599', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'4511', 'Apeldoorn 4511 Prins Willen-Al', 'A', 'A - A', '23361', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'4509', 'Waddinxveen 4509 Staringlaan 2', 'A', 'A - A', '23360', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'4507', 'Den Bosch 4507 Rietveldenweg 4', 'A', 'A - A', '23359', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3850', 'Almere 3850 Antennestraat 2', 'A', 'A - A', '24206', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3814', 'Hilversum 3814 Nieuwe Havenweg', 'A', 'A - A', '24159', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3812', 'Leeuwarden 3812 Vestaweg 38', 'A', 'A - A', '20025', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3808', 'Ijsselmuiden 3808  Oosterl', 'C', 'C - C', '14930', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3808', 'Ijsselmuiden 3808  Oosterl', 'B', 'B - B', '14918', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3808', 'Ijsselmuiden 3808  Oosterl', 'A', 'A - A', '14883', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3806', 'Nieuwegein 3806 Remiseweg 2 ', 'H', 'H - H', '22928', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3806', 'Nieuwegein 3806 Remiseweg 2 ', 'A', 'A - A', '21277', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3801', 'Emmeloord 3801 Produktieweg 7 ', 'C', 'C - C', '14736', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3801', 'Emmeloord 3801 Produktieweg 7 ', 'B', 'B - B', '14733', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3801', 'Emmeloord 3801 Produktieweg 7 ', 'A', 'A - A', '14714', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3800', 'Apeldoorn 3800 Arnhemseweg 38 ', 'G', 'G - G', '14669', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3800', 'Apeldoorn 3800 Arnhemseweg 38 ', 'F', 'F - F', '14662', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3800', 'Apeldoorn 3800 Arnhemseweg 38 ', 'E', 'E - E', '14659', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3800', 'Apeldoorn 3800 Arnhemseweg 38 ', 'D', 'D - D', '14654', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3800', 'Apeldoorn 3800 Arnhemseweg 38 ', 'C', 'C - C', '14650', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3800', 'Apeldoorn 3800 Arnhemseweg 38 ', 'B', 'B - B', '14644', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3800', 'Apeldoorn 3800 Arnhemseweg 38 ', 'A', 'A - A', '14615', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3571', 'Bunnink 3571 Provincialeweg', 'A', 'A - A', '24442', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3570', 'Heerenveen 3570 Trambaan', 'A', 'A - A', '24445', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3569', 'Groningen 3569 Stationsplein', 'A', 'A - A', '24439', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3568', 'Joure 3568  Geert Knolweg', 'A', 'A - A', '23918', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3566', 'Swifterbant 3566 Industriew', 'A', 'A - A', '23684', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3565', 'Zeewolde 3565 geldersew', 'A', 'A - A', '23686', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3542', 'Wageningen 3542 Stadsbrink 1 a', 'A', 'A - A', '21007', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3534', 'Nieuwegein 3534 Ratelaar Hoogz', 'A', 'A - A', '23759', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3527', 'Enschede 3527 Stationsplein 14', 'A', 'A - A', '21330', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3524', 'Deventer 3524 Stationsplein 1 ', 'A', 'A - A', '21003', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3501', 'Almelo 3501 Centrumplein 3', 'A', 'A - A', '24203', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3097', 'Hilversum 3097 Olympia', 'A', 'A - A', '24459', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3096', 'Meppel 3096 Station', 'A', 'A - A', '23911', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3095', 'Emmen-3095-Spoorstr (Stat)', 'A', 'A - A', '23908', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3094', 'Hoogeveen 3094 Station', 'A', 'A - A', '23905', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3093', 'Joure 3093 Transportwei', 'A', 'A - A', '23619', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3092', 'Meppel 3092 Industr', 'A', 'A - A', '23687', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3091', 'Hoogeveen 3091 Weberstr', 'A', 'A - A', '23641', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3090', 'Dedemsvaart 3090 Pascalstr', 'A', 'A - A', '23688', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3089', 'Zwartsluis 3089 Grote Kr', 'A', 'A - A', '23914', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3088', 'Zeewolde 3088 Nijverh', 'A', 'A - A', '23685', 'A', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3064', 'Lelystad 3064 Noordersluisweg ', 'C', 'C - C', '12662', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3064', 'Lelystad 3064 Noordersluisweg ', 'B', 'B - B', '12655', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3064', 'Lelystad 3064 Noordersluisweg ', 'A', 'A - A', '12631', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3062', 'Duiven 3062 ''t Segment 22 ', 'A', 'A - A', '10927', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3058', 'Zwolle 3058 Hoekerweg 9-9a ', 'D', 'D - D', '12469', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3058', 'Zwolle 3058 Hoekerweg 9-9a ', 'C', 'C - C', '12466', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3058', 'Zwolle 3058 Hoekerweg 9-9a ', 'B', 'B - B', '12460', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3058', 'Zwolle 3058 Hoekerweg 9-9a ', 'A', 'A - A', '12450', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3056', 'Zwolle 3056 Deventerstraatweg ', 'A', 'A - A', '16123', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3054', 'Zeist 3054 Huis ter Heideweg 8', 'D', 'D - D', '12426', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2004', 'Amsterdam Z-O 2004 Hoogoorddre', 'C', 'C - C', '13472', 'A', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2002', 'Amstelveen 2002 Th. Cookstraat', 'B', 'B - B', '11104', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2027', 'Purmerend 2027 Nieuwe Gouwe 8 ', 'H', 'H - H', '13791', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3001', 'Almere Haven 3001 De Steiger 4', 'B', 'B - B', '12744', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3001', 'Almere Haven 3001 De Steiger 4', 'D', 'D - D', '12752', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3002', 'Almere Buiten 3002 Splijtbakwe', 'C', 'C - C', '15271', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3010', 'Apeldoorn 3010 Wapenrustlaan 1', 'B', 'B - B', '14341', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3029', 'Hilversum 3029 Larenseweg 1 ', 'B', 'B - B', '12693', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2001', 'Alkmaar 2001 Stationsweg 51 ', 'B', 'B - B', '15058', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1039', 'Schoonhoven 1039 Stationsplein', 'B', 'B - B', '12350', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1035', 'Oudewater 1035 Molenstraat 1 a', 'D', 'D - D', '11313', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1035', 'Oudewater 1035 Molenstraat 1 a', 'C', 'C - C', '11310', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1035', 'Oudewater 1035 Molenstraat 1 a', 'B', 'B - B', '11292', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3050', 'Wijk bij Duurstede 3050 De Lan', 'B', 'B - B', '14853', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3029', 'Hilversum 3029 Larenseweg 1 ', 'C', 'C - C', '12696', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3010', 'Apeldoorn 3010 Wapenrustlaan 1', 'C', 'C - C', '14344', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3002', 'Almere Buiten 3002 Splijtbakwe', 'D', 'D - D', '15274', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3002', 'Almere Buiten 3002 Splijtbakwe', 'B', 'B - B', '15268', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3001', 'Almere Haven 3001 De Steiger 4', 'C', 'C - C', '12749', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2027', 'Purmerend 2027 Nieuwe Gouwe 8 ', 'G', 'G - G', '13785', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2027', 'Purmerend 2027 Nieuwe Gouwe 8 ', 'B', 'B - B', '13745', 'B', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2001', 'Alkmaar 2001 Stationsweg 51 ', 'C', 'C - C', '15071', 'C', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2033', 'Schiphol 2033 Cateringweg 12 ', 'C', 'C - C', '15234', 'C', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1023', 'Leiden 1023 Rijnsburgerweg 1 ', 'D', 'D - D', '12209', 'C', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1023', 'Leiden 1023 Rijnsburgerweg 1 ', 'C', 'C - C', '12169', 'C', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1000', 'Aardenburg 1000 Draaibrug 69 ', 'C', 'C - C', '11885', 'C', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3000', 'Almelo 3000 Noordbroek 6 ', 'D', 'D - D', '14287', 'D', 'C OP TEKENING', NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3010', 'Apeldoorn 3010 Wapenrustlaan 1', 'D', 'D - D', '14347', 'D', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1029', 'Middelburg 1029 Industrieweg 7', 'D', 'D - D', '11839', 'D', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1018', 'Heinenoord 1018 Reedijk 7a ', 'D', 'D - D', '11718', 'D', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3029', 'Hilversum 3029 Larenseweg 1 ', 'E', 'E - E', '12703', 'D', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3064', 'Lelystad 3064 Noordersluisweg ', 'D', 'D - D', '12665', 'D', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3029', 'Hilversum 3029 Larenseweg 1 ', 'D', 'D - D', '12699', 'D', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3001', 'Almere Haven 3001 De Steiger 4', 'E', 'E - E', '12755', 'E', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1045', 'Zoetermeer 1045 Kelvinstraat 5', 'E', 'E - E', '12136', 'E', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1009', 'Delft 1009 Schieweg 80 ', 'E', 'E - E', '11382', 'E', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3058', 'Zwolle 3058 Hoekerweg 9-9a ', 'E', 'E - E', '12476', 'E', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3018', 'Doetinchem 3018 Erdbrinkplein ', 'E', 'E - E', '13990', 'E', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3022', 'Enschede 3022 Marssteden 30 ', 'E', 'E - E', '14479', 'E', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3010', 'Apeldoorn 3010 Wapenrustlaan 1', 'E', 'E - E', '14367', 'E', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2027', 'Purmerend 2027 Nieuwe Gouwe 8 ', 'F', 'F - F', '13757', 'F', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3010', 'Apeldoorn 3010 Wapenrustlaan 1', 'F', 'F - F', '16122', 'F', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3018', 'Doetinchem 3018 Erdbrinkplein ', 'F', 'F - F', '14064', 'F', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3058', 'Zwolle 3058 Hoekerweg 9-9a ', 'F', 'F - F', '12486', 'F', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2000', 'Alkmaar 2000 Helderseweg 55-57', 'G', 'G - G', '13850', 'G', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2000', 'Alkmaar 2000 Helderseweg 55-57', 'H', 'H - H', '13855', 'H', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', 'I', 'I - I', '14189', 'J', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', 'J', 'J - J', '14227', 'J', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2000', 'Alkmaar 2000 Helderseweg 55-57', 'J', 'J - J', '13858', 'J', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3036', 'Nieuwegein 3036 Remiseweg 1 ', 'K', 'K - K', '21033', 'K', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'L', 'L - L', '13114', 'L', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'M', 'M - M', '13117', 'M', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3030', 'Hilversum 3030 Marathon 4-6 ', 'M4', 'M4 - M4', '19340', 'M4', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3030', 'Hilversum 3030 Marathon 4-6 ', 'M6', 'M6 - M6', '19256', 'M6', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'N', 'N - N', '13120', 'N', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'O', 'O - O', '13124', 'O', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2807', 'Alkmaar 2807 Smaragdweg/ Bij N', 'PK', 'PK - PK', '24200', 'PK', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2013', 'Haarlem 2013 Leidsevaart 396 ', 'K', 'K - K', '13106', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1045', 'Zoetermeer 1045 Kelvinstraat 5', '001', '001 - 001', '21625', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1044', 'Zierikzee 1044 uitbeheer 05-05', 'A', 'A - A', '16111', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1040', 'Sliedrecht 1040 Uitbeheer', 'C', 'C - C', '11585', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1040', 'Sliedrecht 1040 Uitbeheer', 'B', 'B - B', '11578', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1040', 'Sliedrecht 1040 Uitbeheer', 'A', 'A - A', '11526', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1034', 'Oude Tonge 1034 Tramweg 1 ', '001', '001 - 001', '19937', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1025', 'Leidschendam 1025 Veursestraat', '001', '001 - 001', '21647', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1023', 'Leiden 1023 Rijnsburgerweg 1 ', '001', '001 - 001', '19897', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1019', 'Hellevoetssluis 1019 Ampereweg', '002', '002 - 002', '20756', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1807', 'Terneuzen 1807 Uitbeheer', 'A', 'A - A', '11162', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1804', 'Rijswijk 1804 Uitbeheer', 'C', 'C - C', '12279', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1804', 'Rijswijk 1804 Uitbeheer', 'B', 'B - B', '12270', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1804', 'Rijswijk 1804 Uitbeheer', 'A', 'A - A', '12246', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1802', 'Gouda 1802 Uitbeheer', 'C', 'C - C', '10914', 'WEG', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1802', 'Gouda 1802 Uitbeheer', 'B', 'B - B', '10911', 'WEG', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1802', 'Gouda 1802 Uitbeheer', 'A', 'A - A', '10882', 'WEG', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1019', 'Hellevoetssluis 1019 Ampereweg', '001', '001 - 001', '20755', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1018', 'Heinenoord 1018 Reedijk 7a ', '001', '001 - 001', '19862', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1014', 'Den Haag 1014 Houtwijklaan', '001', '001 - 001', '21380', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1009', 'Delft 1009 Schieweg 80 ', '002', '002 - 002', '20802', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1009', 'Delft 1009 Schieweg 80 ', '001', '001 - 001', '20798', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3050', 'Wijk bij Duurstede 3050 De Lan', 'C', 'C - C', '14860', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3048', 'Winterswijk 3048 Uitbeheer', 'C', 'C - C', '14505', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3048', 'Winterswijk 3048 Uitbeheer', 'B', 'B - B', '14502', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1022', 'Kruiningen 1022 Uitbeheer', 'D', 'D - D', '11867', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1022', 'Kruiningen 1022 Uitbeheer', 'C', 'C - C', '11864', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1022', 'Kruiningen 1022 Uitbeheer', 'B', 'B - B', '11858', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1022', 'Kruiningen 1022 Uitbeheer', 'A', 'A - A', '11842', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3048', 'Winterswijk 3048 Uitbeheer', 'A', 'A - A', '14485', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3047', 'Veenendaal 3047 Turbinestraat ', 'A', 'A - A', '12430', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3042', 'Rhenen 3042 Verlengde Trambaan', 'C', 'C - C', '12536', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3042', 'Rhenen 3042 Verlengde Trambaan', 'B', 'B - B', '12517', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3042', 'Rhenen 3042 Verlengde Trambaan', 'A', 'A - A', '12502', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3030', 'Hilversum 3030 Marathon 4-6 ', '003', '003 - 003', '21641', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3030', 'Hilversum 3030 Marathon 4-6 ', '001', '001 - 001', '21639', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', '002', '002 - 002', '19977', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1004', 'Boskoop 1004 Hoogeveenseweg 5-', '001', '001 - 001', '19962', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1002', 'Alphen aan den Rijn 1002 H. Ka', '001', '001 - 001', '19861', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'1000', 'Aardenburg 1000 Draaibrug 69 ', '001', '001 - 001', '23159', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'4201', 'Amsterdam 4201 Uit beheer', 'B', 'B - B', '15089', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'4201', 'Amsterdam 4201 Uit beheer', 'A', 'A - A', '15083', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3803', 'Hilversum 3803 Vreelandseweg 1', 'C', 'C - C', '14783', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3803', 'Hilversum 3803 Vreelandseweg 1', 'B', 'B - B', '14778', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3803', 'Hilversum 3803 Vreelandseweg 1', 'A', 'A - A', '14764', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', '001', '001 - 001', '19972', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3010', 'Apeldoorn 3010 Wapenrustlaan 1', 'PC', 'PC - Portocabin', '23259', 'WEG'
, NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3010', 'Apeldoorn 3010 Wapenrustlaan 1', '-', '- - -', '14372', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3006', 'Amersfoort 3006 Havenw  40/42 ', 'C', 'C - C', '16121', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3002', 'Almere Buiten 3002 Splijtbakwe', '001', '001 - 001', '21381', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3000', 'Almelo 3000 Noordbroek 6 ', '002', '002 - 002', '20709', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3000', 'Almelo 3000 Noordbroek 6 ', '001', '001 - 001', '20685', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2038', 'Zaandam NS 2038 Provincialeweg', 'A', 'A - A', '11127', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3016', 'Deventer 3016 Uitbeheer', 'G', 'G - G', '13926', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3016', 'Deventer 3016 Uitbeheer', 'F', 'F - F', '13923', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3016', 'Deventer 3016 Uitbeheer', 'E', 'E - E', '13920', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3016', 'Deventer 3016 Uitbeheer', 'D', 'D - D', '13917', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3016', 'Deventer 3016 Uitbeheer', 'C', 'C - C', '13913', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3016', 'Deventer 3016 Uitbeheer', 'B', 'B - B', '13907', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3016', 'Deventer 3016 Uitbeheer', 'A', 'A - A', '13889', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', '005', '005 - 005', '19991', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', '004', '004 - 004', '19990', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3014', 'Arnhem 3014 Westervoortsedijk ', '003', '003 - 003', '19978', 'WEG', NULL
, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2037', 'Velsen-Noord 2037 Emplacements', 'C', 'C - C', '15297', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2037', 'Velsen-Noord 2037 Emplacements', 'B', 'B - B', '15294', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2037', 'Velsen-Noord 2037 Emplacements', 'A', 'A - A', '15281', 'WEG', NULL, NULL
, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2030', 'Schagen 2030 Uitbeheer', 'C', 'C - C', '15340', 'WEG', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2030', 'Schagen 2030 Uitbeheer', 'B', 'B - B', '15337', 'WEG', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2030', 'Schagen 2030 Uitbeheer', 'A', 'A - A', '15319', 'WEG', NULL, NULL, NULL, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'2025', 'Den Oever 2025 Uitbeheer', 'A', 'A - A', '15179', 'WEG', NULL, NULL, NULL
, NULL); 
INSERT INTO TMP ( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10 ) VALUES ( 
'3564', 'IJsselstein 3564 Praalsingel', 'onb', 'onb - Onbekend', '23059', NULL, NULL
, NULL, NULL, NULL); 
COMMIT;


UPDATE  ALG_VERDIEPING
SET     alg_verdieping_code = 'Onb'
WHERE   UPPER(alg_verdieping_code) = 'ONB';

UPDATE  ALG_VERDIEPING
SET     alg_verdieping_code = 'K'
WHERE   UPPER(alg_verdieping_code) = 'K1';

UPDATE  ALG_VERDIEPING
SET     alg_verdieping_code = '00'
WHERE   UPPER(alg_verdieping_code) = '0';

-- Import data
CREATE OR REPLACE VIEW tmp_v AS
SELECT   F1 ALG_LOCATIE_CODE
        ,F3 ALG_GEBOUW_CODE
        ,F6 ALG_GEBOUW_CODE_NEW
        ,F5 ALG_GEBOUW_KEY
FROM    tmp;
/

-- Gebouwen die kunnen komen te vervallen (238)
CREATE OR REPLACE VIEW tmp_del_gebouw AS
SELECT  g.alg_gebouw_key, g.alg_gebouw_code, l.alg_locatie_code
FROM    alg_gebouw g, alg_locatie l
WHERE   g.alg_gebouw_verwijder is null
AND     g.alg_locatie_key = l.alg_locatie_key
AND     		EXISTS (SELECT  'Gebouw in importbestand bestaat in Facilitor'
                    FROM    tmp_v t
                    WHERE   g.alg_gebouw_key = t.alg_gebouw_key
                    AND     rownum = 1)
AND     		EXISTS (SELECT  'Importbestand bevat een gebouw dat verwijderd moet worden'
                    FROM    tmp_v t
                    WHERE   l.alg_locatie_code = t.alg_locatie_code
                    AND     upper(g.alg_gebouw_code) = upper(t.ALG_GEBOUW_CODE)
                    AND     upper(g.alg_gebouw_code) <> upper(t.ALG_GEBOUW_CODE_NEW)
                    AND			alg_gebouw_code_new <> 'WEG'
                    AND     rownum = 1)
AND     NOT	EXISTS (SELECT  'Importbestand bevat een gebouw dat NIET verwijderd moet worden'
                    FROM    tmp_v t
                    WHERE   l.alg_locatie_code = t.alg_locatie_code
                    AND     upper(g.alg_gebouw_code) = upper(t.ALG_GEBOUW_CODE)
                    AND     upper(g.alg_gebouw_code) = upper(t.ALG_GEBOUW_CODE_NEW)
                    AND     rownum = 1)
GROUP BY g.alg_gebouw_key, g.alg_gebouw_code, l.alg_locatie_code;
/

CREATE OR REPLACE VIEW tmp_verdieping AS
SELECT    g.alg_gebouw_key, v.alg_verdieping_code, v.alg_verdieping_volgnr
FROM      ALG_VERDIEPING v, ALG_GEBOUW g
WHERE     v.alg_verdieping_verwijder IS NULL
AND       v.alg_gebouw_key = g.alg_gebouw_key
GROUP BY  g.alg_gebouw_key, v.alg_verdieping_code, v.alg_verdieping_volgnr;
/

ALTER TRIGGER ALG_T_ALG_RUIMTE_B_IU DISABLE;

alter table alg_ruimte disable  CONSTRAINT alg_u_alg_ruimte_upper_nr;

DECLARE

  CURSOR c_cursor
     IS
        SELECT  *
        FROM    tmp_del_gebouw
        WHERE   alg_gebouw_key > 0;

  CURSOR c_cursor2 	(pGebouw_key IN NUMBER)
     IS
        SELECT  *
        FROM    alg_verdieping
        WHERE   alg_verdieping_verwijder is null
        AND     alg_gebouw_key = pGebouw_key;

  CURSOR c_cursor3 (pVerdieping_key IN NUMBER)
     IS
        SELECT  *
        FROM    alg_ruimte
        WHERE   alg_ruimte_verwijder is null
        AND     alg_verdieping_key = pVerdieping_key;

  next_record                   c_cursor%ROWTYPE;
  next_record2                  c_cursor2%ROWTYPE;
  next_record3                  c_cursor3%ROWTYPE;

  oracle_err_num                NUMBER;
  oracle_err_mes                VARCHAR2 (200);
  v_errormsg                    VARCHAR2 (1024);
  v_errormsg2                   VARCHAR2 (1024);

  v_count                       NUMBER(10);
  v_count2                      NUMBER(10);
  v_count3                      NUMBER(10);
  v_gebouw_key_new              NUMBER(10);
  v_verdieping_key              NUMBER(10);
  v_verdieping_key_new          NUMBER(10);
  v_gebouw_code_new             VARCHAR2(10);
  v_gebouw_key_cursor           NUMBER(10);
  v_verdieping_volgnr           NUMBER(3);

BEGIN

	-- Init
	v_gebouw_key_new := 0;
	v_gebouw_key_cursor := 0;
  DELETE FROM IMP_LOG WHERE IMP_LOG_APPLICATIE = 'CONN#554';

  COMMIT;

  -- Voor elke te verwijderen gebouw ...
  FOR next_record IN c_cursor LOOP


    BEGIN
          v_gebouw_key_cursor := next_record.alg_gebouw_key;

          -- Voor elke verdieping ...
          FOR next_record2 IN c_cursor2(v_gebouw_key_cursor) LOOP

            BEGIN

              v_verdieping_key := next_record2.alg_verdieping_key;

              v_errormsg2 := 'Bepalen nieuwe alg_gebouw_code';
              SELECT  t.alg_gebouw_code_new
              INTO    v_gebouw_code_new
              FROM    tmp_v t
              WHERE   t.alg_gebouw_key = v_gebouw_key_cursor;

              v_gebouw_key_new := 0;

              IF ( upper(v_gebouw_code_new) = 'WEG' ) THEN

                v_errormsg2 := 'Gebouw moet weg? Kan (nog) niet voorkomen!!!';

              ELSE

                v_errormsg2 := 'Bepalen nieuwe alg_gebouw_key';

                SELECT  count(t.alg_gebouw_key)
                INTO    v_count
                FROM    tmp_v t
                WHERE   1=1
                AND     upper(t.alg_gebouw_code)    = upper(v_gebouw_code_new)
                AND     upper(t.alg_locatie_code)   = upper(next_record.alg_locatie_code);


                IF (v_count = 1) THEN

                  SELECT  t.alg_gebouw_key
                  INTO    v_gebouw_key_new
                  FROM    tmp_v t
	                WHERE   1=1
	                AND     upper(t.alg_gebouw_code)    = upper(v_gebouw_code_new)
	                AND     upper(t.alg_locatie_code)   = upper(next_record.alg_locatie_code);

                ELSE
                
                	v_errormsg2 := 'Gebouw bestaat niet in Facilitor met v_gebouw_code_new=<'||v_gebouw_code_new||'> AND next_record.alg_locatie_code=<'||next_record.alg_locatie_code||'>';

                  SELECT  g.alg_gebouw_key
                  INTO    v_gebouw_key_new
                  FROM    alg_gebouw g, alg_locatie l
                  WHERE   g.alg_gebouw_verwijder is null
                  AND     g.alg_locatie_key = l.alg_locatie_key
                  AND     upper(g.alg_gebouw_code)    = upper(v_gebouw_code_new)
                  AND     upper(l.alg_locatie_code)   = upper(next_record.alg_locatie_code);

                END IF;

                v_errormsg2 := 'Kijken of verdieping reeds bestaat';

                SELECT  count(*)
                INTO    v_count
                FROM    alg_verdieping
                WHERE   alg_verdieping_verwijder is null
                AND     alg_gebouw_key = v_gebouw_key_new
                AND     upper(alg_verdieping_code) = upper(next_record2.alg_verdieping_code);

                IF (v_count = 0) THEN

                  v_errormsg2 := 'Insert verdieping';

                  INSERT INTO ALG_VERDIEPING
                  (ALG_GEBOUW_KEY
                  ,ALG_VERDIEPING_OMSCHRIJVING
                  ,ALG_VERDIEPING_VOLGNR
                  ,ALG_VERDIEPING_CODE )
                  VALUES
                  (v_gebouw_key_new, next_record2.alg_verdieping_code, next_record2.alg_verdieping_volgnr, next_record2.alg_verdieping_code);

                END IF;

                v_errormsg2 := 'Bepalen nieuwe alg_verdieping_key';
                SELECT  alg_verdieping_key
                INTO    v_verdieping_key_new
                FROM    alg_verdieping
                WHERE   alg_verdieping_verwijder is null
                AND     alg_gebouw_key = v_gebouw_key_new
                AND     upper(alg_verdieping_code) = upper(next_record2.alg_verdieping_code);

              END IF;

              v_count3 := 0;

		          -- Voor elke ruimte die niet uniek is ...
		          FOR next_record3 IN c_cursor3(v_verdieping_key) LOOP

		            BEGIN

		              SELECT  count(*)
		              INTO		v_count
		              FROM		alg_ruimte
		              WHERE   alg_verdieping_key = v_verdieping_key_new
		              AND     alg_ruimte_verwijder IS NULL
		              AND			upper(alg_ruimte_nr) = upper(next_record3.alg_ruimte_nr);

		              --
		              IF ( v_count > 0)  THEN

										 -- Ruimtenummer bestaat al, conflict ...

		              	v_count3 := v_count3 + 1;

			              v_errormsg2 := 'Update ruimte (maak ruimte uniek met prefix!): v_verdieping_key=<'||to_char(v_verdieping_key)||'> v_verdieping_key_new='||to_char(v_verdieping_key_new)||'>';
			              UPDATE  alg_ruimte
			              SET     alg_ruimte_nr = substr('?'||to_char(v_count3)||'_'||alg_ruimte_nr,1,10)
			              				,alg_ruimte_upper_nr = upper(substr('?'||to_char(v_count3)||'_'||alg_ruimte_upper_nr,1,10))
			              				,alg_ruimte_omschrijving = substr('['||alg_ruimte_nr||'] '||alg_ruimte_omschrijving,1,30)
			              WHERE   alg_verdieping_key = v_verdieping_key
			              AND     alg_ruimte_key = next_record3.alg_ruimte_key
			              AND     alg_ruimte_verwijder IS NULL;

									END IF;

		              v_errormsg2 := 'Update ruimte (nadat ruimte_nr uniek is gemaakt met prefix!): v_verdieping_key=<'||to_char(v_verdieping_key)||'> v_verdieping_key_new='||to_char(v_verdieping_key_new)||'>';
		              UPDATE  alg_ruimte
		              SET     alg_verdieping_key = v_verdieping_key_new
		              WHERE   alg_verdieping_key = v_verdieping_key
		              AND     alg_ruimte_key = next_record3.alg_ruimte_key
		              AND     alg_ruimte_verwijder IS NULL;


              	END;

							END LOOP;
							
							
              v_errormsg2 := 'Update melding';
              UPDATE  mld_melding
              SET     mld_alg_onroerendgoed_keys = v_verdieping_key_new
              WHERE   mld_alg_onroerendgoed_keys = v_verdieping_key;

/*							
							BEGIN

								v_errormsg2 := 'Update ruimten met nieuwe verdieping_key die uniek moeten zijn: v_verdieping_key=<'||to_char(v_verdieping_key)||'> v_verdieping_key_new='||to_char(v_verdieping_key_new)||'>';
	              UPDATE  alg_ruimte
	              SET     alg_verdieping_key = v_verdieping_key_new
	              WHERE   alg_verdieping_key = v_verdieping_key
	              AND			alg_ruimte_verwijder is null;

	              EXCEPTION
	
	                   WHEN OTHERS
	                   THEN

												v_errormsg2 := 'Update ruimten met nieuwe verdieping_key NIET altijd uniek: v_verdieping_key=<'||to_char(v_verdieping_key)||'> v_verdieping_key_new='||to_char(v_verdieping_key_new)||'>';
												UPDATE  alg_ruimte
					              SET     alg_ruimte_nr = substr('?'||to_char(alg_ruimte_key)||'_'||alg_ruimte_nr,1,10)
					              				,alg_ruimte_omschrijving = substr('['||alg_ruimte_nr||'] '||alg_ruimte_omschrijving,1,30)
					              WHERE   alg_verdieping_key = v_verdieping_key
					              AND			alg_ruimte_verwijder is null;

              END;
*/

							v_errormsg2 := 'Update ruimten met nieuwe verdieping_key die uniek moeten zijn(2): v_verdieping_key=<'||to_char(v_verdieping_key)||'> v_verdieping_key_new='||to_char(v_verdieping_key_new)||'>';
              UPDATE  alg_ruimte
              SET     alg_verdieping_key = v_verdieping_key_new
              WHERE   alg_verdieping_key = v_verdieping_key
              AND			alg_ruimte_verwijder is null;

              v_errormsg2 := 'Update verdieping';
              UPDATE  alg_verdieping
              SET     alg_verdieping_verwijder = sysdate
              WHERE   alg_verdieping_key = v_verdieping_key
              AND			alg_verdieping_verwijder is null;


              COMMIT;

              EXCEPTION

                   WHEN OTHERS
                   THEN
                   		
                      oracle_err_num := SQLCODE;
                      oracle_err_mes := SUBSTR (SQLERRM, 1, 100);
                      v_errormsg :=
                         '(ORACLE error ' || oracle_err_num || '/' || oracle_err_mes
                         || ')';

                      INSERT INTO IMP_LOG ( IMP_LOG_APPLICATIE, IMP_LOG_RUN, IMP_LOG_STATUS, IMP_LOG_OMSCHRIJVING,
                      IMP_LOG_HINT ) VALUES (
                      'CONN#554', to_char(v_gebouw_key_cursor)||'|'||to_char(v_verdieping_key)||'|'||to_char(v_verdieping_key_new), 'V', v_errormsg
                      , v_errormsg2);

                      COMMIT; -- commit logging ...

            END;

          END LOOP;

    END;

    BEGIN

      v_errormsg2 := 'Update melding(2)';
      UPDATE  mld_melding
      SET     mld_alg_onroerendgoed_keys = v_gebouw_key_cursor
      WHERE   mld_alg_onroerendgoed_keys = v_gebouw_key_new;

      v_errormsg2 := 'Update gebouw met key = <'||to_char(v_gebouw_key_cursor)||'>';

      UPDATE  alg_gebouw
      SET     alg_gebouw_verwijder = sysdate
	  	, 			alg_gebouw_getekend = NULL
      WHERE   alg_gebouw_key = v_gebouw_key_cursor;

      EXCEPTION

           WHEN OTHERS
           THEN
              oracle_err_num := SQLCODE;
              oracle_err_mes := SUBSTR (SQLERRM, 1, 100);
              v_errormsg :=
                 '(ORACLE error ' || oracle_err_num || '/' || oracle_err_mes
                 || ')';

              INSERT INTO IMP_LOG ( IMP_LOG_APPLICATIE, IMP_LOG_RUN, IMP_LOG_STATUS, IMP_LOG_OMSCHRIJVING,
              IMP_LOG_HINT ) VALUES (
              'CONN#554', to_char(v_gebouw_key_cursor), 'G', v_errormsg
              , v_errormsg2);

              COMMIT; -- commit logging ...

    END;


  END LOOP;

  commit;

END;
/


show errors;

ALTER TRIGGER ALG_T_ALG_RUIMTE_B_IU ENABLE;

alter table alg_ruimte enable  CONSTRAINT alg_u_alg_ruimte_upper_nr;

commit;



spool off;



