Script header/footer formaat

svn path=/Customer/trunk/; revision=57199
This commit is contained in:
Maarten van der Heide
2022-09-08 13:10:17 +00:00
parent 3a0657ec86
commit 43a0658979

View File

@@ -1,21 +1,27 @@
--
-- $Id$
--
-- Script containing customer specific sql statements for Astellas
-- Script containing customer specific db-configuration for ASTE.
DEFINE thisfile = 'ASTE.SQL'
DEFINE dbuser = '^ASTE'
DEFINE custid = 'ASTE'
SET ECHO ON
SET DEFINE ON
COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT;
WHENEVER SQLERROR EXIT;
SELECT adm.scriptspoolfile('&dbuser', '&thisfile') AS fcltlogfile FROM DUAL;
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 aste_v_rap_import_log
(
fclt_f_applicatie,
@@ -340,8 +346,10 @@ AS
rrr.res_rsv_ruimte_omschrijving,
sn.fac_srtnotificatie_code;
------ payload end ------
SET DEFINE OFF
BEGIN adm.systrackscriptId ('$Id$', 0); END;
/
@@ -349,4 +357,4 @@ COMMIT;
SET ECHO OFF
SPOOL OFF
SET DEFINE ON
PROMPT Logfile of this upgrade is: &fcltlogfile
PROMPT Logfile of this upgrade is: &fcltlogfile