--
-- $Id$
--
-- Customer specific once-script BLCC#68741.SQL.
DEFINE thisfile = 'BLCC#68741.SQL'
DEFINE dbuser   = '^BLCC'

SET ECHO ON
SET DEFINE ON
COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT;
WHENEVER SQLERROR EXIT;
SELECT adm.scriptspoolfile('&dbuser', '&thisfile') AS fcltlogfile FROM DUAL;
WHENEVER SQLERROR CONTINUE;
SPOOL &fcltlogfile
SET DEFINE OFF

------ payload begin ------

-- BLCC#68741
UPDATE alg_onrgoedkenmerk ok
   SET ok.alg_onrgoedkenmerk_waarde = 1.89 * ok.alg_onrgoedkenmerk_waarde
 WHERE ok.alg_onrgoedkenmerk_verwijder IS NULL
       AND alg_kenmerk_key IN
                (1210, 1211, 1212, 1213, 1214, 1244) -- Voorschot Utilities L/H/K/O/T/C
;

------ payload end   ------

SET DEFINE OFF
BEGIN adm.systrackscriptId ('$Id$', 1); END;
/

COMMIT;
SET ECHO OFF
SPOOL OFF
SET DEFINE ON
PROMPT Logfile of this upgrade is: &fcltlogfile
