Script header/footer formaat

svn path=/Customer/trunk/; revision=57208
This commit is contained in:
Maarten van der Heide
2022-09-08 13:34:26 +00:00
parent c7b3b0f30a
commit 82ef77eb51

View File

@@ -1,11 +1,26 @@
-- Script containing customer specific db-configuration for RENK.
-- (c) 2011 SG|facilitor bv
-- $Revision$
--
-- $Id$
--
-- Support: +31 53 4800700
set echo on
spool xrenk.lst
-- Script containing customer specific db-configuration for RENK.
DEFINE thisfile = 'RENK.SQL'
DEFINE dbuser = '^RENK'
SET ECHO ON
SET DEFINE ON
COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT;
COLUMN fcltcusttxt NEW_VALUE fcltcusttxt NOPRINT;
WHENEVER SQLERROR CONTINUE;
SELECT adm.getscriptspoolfile('&thisfile') AS fcltlogfile FROM DUAL;
SPOOL &fcltlogfile
WHENEVER SQLERROR EXIT;
SELECT adm.checkscriptcust('&dbuser') AS fcltcusttxt FROM DUAL;
WHENEVER SQLERROR CONTINUE;
---------------------------------------
PROMPT &fcltcusttxt
---------------------------------------
SET DEFINE OFF
------ payload begin ------
/* Formatted on 4-4-2012 16:44:36 (QP5 v5.115.810.9015) */
CREATE OR REPLACE VIEW renk_v_rap_import_log
@@ -4223,13 +4238,15 @@ AS
c.cnt_prs_bedrijf_key =b.PRS_BEDRIJF_KEY
and c.CNT_CONTRACT_VERWIJDER is null;
------ payload end ------
SET DEFINE OFF
BEGIN adm.systrackscriptId ('$Id$', 0); END;
/
COMMIT;
BEGIN fac.registercustversion('RENK', 13); END;
/
BEGIN adm.systrackscriptId('$Id$', 0); END;
/
commit;
spool off
SET ECHO OFF
SPOOL OFF
SET DEFINE ON
PROMPT Logfile of this upgrade is: &fcltlogfile