Script header/footer formaat

svn path=/Customer/trunk/; revision=57206
This commit is contained in:
Maarten van der Heide
2022-09-08 13:28:19 +00:00
parent a4a739c014
commit dc96ab8194

View File

@@ -1,9 +1,26 @@
-- Script containing customer specific db-configuration for KIBE.
-- (c) 2015 SG|facilitor bv
--
-- Support: +31 53 4800700
set echo on
spool xkibe.lst
-- $Id$
--
-- Script containing customer specific db-configuration for KIBE.
DEFINE thisfile = 'KIBE.SQL'
DEFINE dbuser = '^KIBE'
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 ------
CREATE OR REPLACE VIEW kibe_v_rap_import_log
(
@@ -1108,9 +1125,15 @@ AS
GROUP BY g.alg_locatie_key) opp
ON scp2.alg_locatie_key = opp.alg_locatie_key;
BEGIN adm.systrackscriptId('$Id$', 0); END;
------ payload end ------
SET DEFINE OFF
BEGIN adm.systrackscriptId ('$Id$', 0); END;
/
BEGIN fac.registercustversion('KIBE', 1); END;
/
commit;
spool off
COMMIT;
SET ECHO OFF
SPOOL OFF
SET DEFINE ON
PROMPT Logfile of this upgrade is: &fcltlogfile