NOUR#85098 Opruimen van verouderde views en rapporten in NOUR.SQL na outlet-module verwijderen
svn path=/Customer/; revision=66183
This commit is contained in:
53
onces/NOUR/NOUR#85098.sql
Normal file
53
onces/NOUR/NOUR#85098.sql
Normal file
@@ -0,0 +1,53 @@
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- NOUR#85098 Opruimen van verouderde views en rapporten in NOUR.SQL na outlet-module verwijderen
|
||||
--
|
||||
DEFINE thisfile = 'NOUR#85098.SQL'
|
||||
DEFINE dbuser = '^NOUR'
|
||||
|
||||
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 ------
|
||||
|
||||
DROP VIEW NOUR_V_OUTLETS;
|
||||
DROP VIEW NOUR_V_OUTLET_KOSTPL;
|
||||
DROP VIEW NOUR_V_OUTLET_PRIJS;
|
||||
DROP VIEW NOUR_V_OUTLET_PRIJS_KOSTPL;
|
||||
DROP VIEW NOUR_V_WALLPLATE_HUURDER;
|
||||
DROP VIEW NOUR_V_WALLPLATE_PLAATS_KENM;
|
||||
DROP VIEW NOUR_V_WALLPLATE_RAPPORT;
|
||||
|
||||
-- AKZA#494: rapportage "doorbelasting outlets" uses this table
|
||||
DROP VIEW prs_eenheid;
|
||||
|
||||
|
||||
------ 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