RWSN#90478 ICT-bestelportaal/Ontmantelen en schonen (overstap naar TOPdesk IV)
svn path=/Customer/; revision=70441
This commit is contained in:
110
onces/RWSN/rwsn75.sql
Normal file
110
onces/RWSN/rwsn75.sql
Normal file
@@ -0,0 +1,110 @@
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- Customer specific once-script RWSN75.
|
||||
DEFINE thisfile = 'RWSN75.sql'
|
||||
DEFINE dbuser = '^RWSN'
|
||||
|
||||
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 ------
|
||||
|
||||
-- RWSN#90478: ICT-bestelportaal/ontmantelen en schonen (ivm. overstap naar
|
||||
-- TOPdesk IV).
|
||||
-- Clean-up DID_OPDR-export met key=4!
|
||||
DELETE FROM fac_export_app WHERE fac_export_app_key = 4;
|
||||
DROP PROCEDURE rwsn_select_did_opdr;
|
||||
DROP VIEW rwsn_v_export_did_opdr;
|
||||
DROP PROCEDURE rwsn_export_did_opdr;
|
||||
|
||||
-- Clean-up DID_STATUS-import met key=187!
|
||||
DELETE FROM fac_import WHERE fac_import_app_key = 187;
|
||||
DELETE FROM fac_import_app WHERE fac_import_app_key = 187;
|
||||
DROP PROCEDURE rwsn_import_did_status;
|
||||
DROP PROCEDURE rwsn_update_did_status;
|
||||
DROP TABLE rwsn_imp_didstatusmulti;
|
||||
|
||||
-- Clean-up CMDB-import met key=202!
|
||||
DELETE FROM fac_import WHERE fac_import_app_key = 202;
|
||||
DELETE FROM fac_import_app WHERE fac_import_app_key = 202;
|
||||
DROP PROCEDURE rwsn_import_cmdb;
|
||||
DROP PROCEDURE rwsn_update_cmdb;
|
||||
DROP TABLE rwsn_imp_cmdb;
|
||||
|
||||
-- Clean-up APPL-import (uit Troux) met key=282!
|
||||
DELETE FROM fac_import WHERE fac_import_app_key = 282;
|
||||
DELETE FROM fac_import_app WHERE fac_import_app_key = 282;
|
||||
DROP PROCEDURE rwsn_import_appl;
|
||||
DROP PROCEDURE rwsn_update_appl;
|
||||
DROP TABLE rwsn_imp_appl;
|
||||
|
||||
DROP VIEW RWSN_V_DID_APPLICATIES;
|
||||
DROP VIEW RWSN_V_DID_DIENSTEN;
|
||||
DROP VIEW RWSN_V_ICTCONTACTPERSONEN;
|
||||
DROP VIEW RWSN_V_DID_SPIV1_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV2_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV3_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV4_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV5_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV6_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV7_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV8_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV9_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV10_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV11_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV12_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV13_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV14_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV15_APPL;
|
||||
DROP VIEW RWSN_V_DID_SPIV0_APPL;
|
||||
|
||||
-- CUST02-notificatiejob!
|
||||
DROP VIEW rwsn_v_noti_aut_ictaanvragen;
|
||||
|
||||
-- CUST07-notificatiejob!
|
||||
DROP VIEW rwsn_v_noti_did_reminder;
|
||||
|
||||
DROP VIEW rwsn_v_rap_aut_ictbeheer;
|
||||
DROP VIEW rwsn_v_rap_orphan_ictaanvragen;
|
||||
DROP VIEW RWSN_V_RAP_ICTCP_OVERZICHT;
|
||||
|
||||
-- Gebaseerd op objectdiscipline 'Geconsolideerde applicaties' (met key=2361)!
|
||||
DROP VIEW rwsn_v_rap_did_mi_ordafm;
|
||||
DROP VIEW rwsn_v_rap_did_mi_ordnew;
|
||||
DROP VIEW rwsn_v_rap_civ_specials;
|
||||
DROP VIEW rwsn_v_rap_fb_spiv_appl;
|
||||
DROP VIEW rwsn_v_rap_appl_geg;
|
||||
|
||||
-- Gebaseerd op objectdiscipline 'CMDB' (met key=1861)!
|
||||
DROP VIEW rwsn_v_rap_cmdb;
|
||||
DROP VIEW rwsn_v_rap_cmdb_per_ictcp;
|
||||
DROP VIEW rwsn_v_imp_log_cmdb;
|
||||
|
||||
DROP VIEW rwsn_v_rap_ldg_per_medewerker;
|
||||
|
||||
DROP VIEW RWSN_V_ICTCP_PER_AFD;
|
||||
|
||||
DROP FUNCTION rwsn_did_flexcontent;
|
||||
|
||||
------ 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
|
||||
Reference in New Issue
Block a user