22 lines
520 B
SQL
22 lines
520 B
SQL
-- Customer specific once-script om onterechte gebouwverplichtingen voor locatie nicasia (key 7)
|
|
-- nl. meldingen met een fac_activiteit_key te verwijderen
|
|
--
|
|
-- (c) 2012 SG|facilitor bv
|
|
-- $Revision$
|
|
-- $Id$
|
|
--
|
|
-- Support: +31 53 4800700
|
|
|
|
SET ECHO ON
|
|
SPOOL xAAEN#22810.lst
|
|
SET DEFINE OFF
|
|
|
|
UPDATE mld_melding
|
|
SET mld_melding_status = 5
|
|
WHERE fac_activiteit_key IS NOT NULL
|
|
AND mld_melding_status IN (0, 2, 3, 4, 7)
|
|
AND mld_alg_locatie_key = 7;
|
|
|
|
COMMIT;
|
|
|
|
SPOOL OFF |