Files
Customer/CONN/Once/CONN#21436.sql
2012-09-23 15:37:06 +00:00

31 lines
930 B
SQL

-- Customer specific once-script CONN#21423.
-- Vullen van flexkenmerk inspectieobjectenverantwoordelijke (1320) met Backoffice Facilities (104383)
--
-- (c) 2010 SG|facilitor bv
-- $Revision$
-- $Id$
--
-- Support: +31 53 4800700
SET ECHO ON;
SPOOL xconn#21436.lst;
SET DEFINE OFF;
INSERT INTO alg_onrgoedkenmerk (alg_onrgoed_key,
alg_onrgoed_niveau,
alg_kenmerk_key,
alg_onrgoedkenmerk_waarde)
SELECT alg_locatie_key,
'L',
1320, -- Inspectieobjecten verantwoordelijke (kenmerk)
104383 -- Backoffice Facilities (persoon)
FROM alg_locatie
WHERE alg_locatie_verwijder IS NULL
AND alg_locatie_key not in (select alg_onrgoed_key from
alg_onrgoedkenmerk
where alg_kenmerk_key = 1320);
-
COMMIT;
SPOOL OFF;