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

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

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

-- BLCC#87600: Uitbreiden tabel met 4 schoonmaaktarieven (tbv. Vebego).
ALTER TABLE BLCC_ALG_FREEZE ADD (BASIC_TARIEF2 NUMBER(16,5));
ALTER TABLE BLCC_ALG_FREEZE ADD (PREMIUM_TARIEF2 NUMBER(16,5));
ALTER TABLE BLCC_ALG_FREEZE ADD (EXCELLENT_TARIEF2 NUMBER(16,5));
ALTER TABLE BLCC_ALG_FREEZE ADD (EXCELPLUS_TARIEF2 NUMBER(16,5));
ALTER TABLE BLCC_ALG_FREEZE ADD (SCH_TARIEFNIVEAU2 VARCHAR2 (1000));

------ 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
