Script header/footer formaat

svn path=/Customer/trunk/; revision=57197
This commit is contained in:
Maarten van der Heide
2022-09-08 13:05:29 +00:00
parent e154ee4d77
commit 82d5d98e48

View File

@@ -1,12 +1,26 @@
-- Script containing customer specific db-configuration for ALLV.
-- (c) 2007 SG|facilitor bv
-- $Revision$
--
-- $Id$
--
-- Support: +31 53 4800700
-- Script containing customer specific db-configuration for ALLV.
DEFINE thisfile = 'ALLV.SQL'
DEFINE dbuser = '^ALLV'
spool xallv.lst
set echo on
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 29-3-2013 20:52:02 (QP5 v5.115.810.9015) */
CREATE OR REPLACE VIEW allv_v_rap_import_log
@@ -2573,9 +2587,15 @@ AS
AND sn.fac_srtnotificatie_code = 'CUST02';
*/
BEGIN fac.registercustversion('ALLV', 6); END;
/
BEGIN adm.systrackscriptId('$Id$', 0); END;
------ payload end ------
SET DEFINE OFF
BEGIN adm.systrackscriptId ('$Id$', 0); END;
/
COMMIT;
spool off
SET ECHO OFF
SPOOL OFF
SET DEFINE ON
PROMPT Logfile of this upgrade is: &fcltlogfile