From 82ef77eb51bf6f5b71e0dccf3ff9e2a08091bc20 Mon Sep 17 00:00:00 2001 From: Maarten van der Heide Date: Thu, 8 Sep 2022 13:34:26 +0000 Subject: [PATCH] Script header/footer formaat svn path=/Customer/trunk/; revision=57208 --- RENK/renk.sql | 47 ++++++++++++++++++++++++++++++++--------------- 1 file changed, 32 insertions(+), 15 deletions(-) diff --git a/RENK/renk.sql b/RENK/renk.sql index 09dc75086..7d8b9eb1a 100644 --- a/RENK/renk.sql +++ b/RENK/renk.sql @@ -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