Files
Customer/onces/BLCC/BLCC#59468.sql
Maarten van der Heide 97a8654e4b BLCC#59468+FCLT#64913 Achterstallige schoning van zaken
svn path=/Customer/; revision=50731
2021-04-09 15:04:40 +00:00

65 lines
1.7 KiB
SQL

--
-- $Id$
--
-- Customer specific once-script BLCC#59468.SQL.
DEFINE thisfile = 'BLCC#59468.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#59468: Koppelvlakken/Stoppen aanlevering POWERBI-export per SFTP (incl. schonen).
-- ADDD-export *als CSV* gestopt/opgenomen in TF_CV/CRF-export!
DROP VIEW blcc_v_export_addd;
DROP VIEW blcc_v_rap_export_addd;
COMMIT;
-- FACT-export *als CSV* gestopt/opgenomen in TF_CV/CRF-export!
DROP VIEW blcc_v_fact_actual;
DROP VIEW blcc_v_export_fact;
DROP VIEW blcc_v_export_fact_cv;
DROP VIEW blcc_v_rap_export_fact_cv;
DROP VIEW blcc_v_export_fact_crf;
DROP VIEW blcc_v_rap_export_fact_crf;
COMMIT;
DROP VIEW blcc_v_export_pwrbi_cat;
DROP VIEW blcc_v_export_pwrbi_mld;
DROP VIEW blcc_v_export_pwrbi_opdr;
DROP VIEW blcc_v_export_pwrbi_mldtrk;
DROP VIEW blcc_v_export_pwrbi_ordtrk;
DROP VIEW blcc_v_export_pwrbi_kosten;
DROP VIEW blcc_v_export_pwrbi_vastgoed;
DROP VIEW blcc_v_export_pwrbi_contract;
DROP VIEW blcc_v_export_pwrbi_addd;
COMMIT;
--DROP VIEW blcc_v_rap_vastgoedgeg;
--DROP VIEW blcc_v_rap_contractgeg;
--COMMIT;
------ 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