BLCC#59468+FCLT#64913 Achterstallige schoning van zaken

svn path=/Customer/; revision=50816
This commit is contained in:
Maarten van der Heide
2021-04-14 11:36:32 +00:00
parent 001dabdc94
commit 41ab8fad1c

View File

@@ -0,0 +1,37 @@
--
-- $Id$
--
-- Customer specific once-script BLCC#59468-2.SQL.
DEFINE thisfile = 'BLCC#59468-2.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 ------
-- Verwijderen oude rapportage-views (gerelateerd aan oude contractsoorten).
DROP VIEW blcc_v_rap_fact_vastgoedgeg;
DROP VIEW blcc_v_rap_fact_contractgeg;
------ 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