FSN#37648 -- Opruimen ongeldige procedures en andere objecten

svn path=/Customer/; revision=31271
This commit is contained in:
Arthur Egberink
2016-10-27 15:18:18 +00:00
parent 80ec631f59
commit 6dac334739

View File

@@ -1,25 +1,52 @@
-- Customer specific once-script
--
-- Support: +31 53 4800700
-- $Id$
--
-- <<Korte omschrijving wat het script doet>>
DEFINE thisfile = 'ASLE#37648.SQL'
DEFINE dbuser = '^ASLE'
DEFINE custid = 'ASLE'
SET ECHO ON
SET DEFINE ON
column fcltlogfile new_value fcltlogfile NOPRINT;
select UPPER(USER) || '_ASLE#37648.lst' as fcltlogfile from dual;
spool &fcltlogfile
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
DROP TABLE ASLE_TMP_EST_CLEANING;
------ payload begin ------
DROP TABLE ASLE_TMP_VERTREK;
DROP TABLE ASLE_TMP_ZONE_WIS;
-- Tijdelijke tabel om de schoonmaak forecast te berekenen
CREATE TABLE ASLE_TMP_EST_CLEANING
(
EINDTIJD DATE,
PAUZE NUMBER,
ALG_LOCATIE_KEY NUMBER(10),
STARTTIJD DATE
);
COMMIT;
-- Tijdelijke tabel om aantal zonewisselingen per dag te bepalen
CREATE TABLE ASLE_TMP_ZONE_WIS
(
TIJDSTIP DATE,
PRS_PERSLID_KEY NUMBER(10),
ALG_LOCATIE_KEY NUMBER(10)
);
BEGIN adm.systrackscriptid('$Id$'); END;
------ 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
--@@ &custid