CONN#12661

svn path=/Customer/trunk/; revision=13370
This commit is contained in:
Maykel Geerdink
2007-09-17 09:56:38 +00:00
parent 6174b198cc
commit 28c14ee01f

View File

@@ -1,7 +1,7 @@
-- Script containing customer specific configuration sql statements for CONN: Connexxion
-- (c) 2005-2006 Dijkoraad IT bv
-- $Revision: 109 $
-- $Modtime: 07-09-06 13:35 $
-- $Revision: 110 $
-- $Modtime: 17-09-07 11:55 $
--
-- Support: +31 53 4800700
@@ -6044,7 +6044,7 @@ SELECT 'OBJINF',
alg_locatie_key,
NULL
FROM (SELECT l.alg_locatie_key,
COUNT(l.alg_locatie_omschrijving),
COUNT(l.alg_locatie_omschrijving) aantal_objecten,
l.alg_locatie_omschrijving,
(SELECT alg_onrgoedkenmerk_waarde
FROM alg_locatie l,
@@ -6092,8 +6092,8 @@ SELECT 'OBJINF',
GROUP BY l.alg_locatie_omschrijving,
d.ins_alg_locatie_key,
alg_locatie_key) t1
WHERE t1.binnen = 0
AND t1.buiten > 0
WHERE (t1.binnen = 0 AND t1.buiten > 0)
OR (t1.aantal_objecten > (t1.binnen + t1.buiten)) -- Indien er nog geen waarde is ingevuld dan altijd melding
ORDER BY 2;
CREATE OR REPLACE VIEW conn_v_export_contractmutatie as