From 37b19bd828ba96e4bccc72a6f59cf993fa359192 Mon Sep 17 00:00:00 2001 From: Arthur Egberink Date: Wed, 25 Sep 2024 11:28:42 +0000 Subject: [PATCH] PCHX#85235 -- Optimalisaties Schiphol: QR codes en SKIdata koppeling svn path=/Customer/trunk/; revision=66320 --- PCHS/pchs.sql | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 PCHS/pchs.sql diff --git a/PCHS/pchs.sql b/PCHS/pchs.sql new file mode 100644 index 000000000..5c9b5623c --- /dev/null +++ b/PCHS/pchs.sql @@ -0,0 +1,57 @@ +/* Formatted on 30-8-2016 21:44:21 (QP5 v5.136.908.31019) */ +-- Script containing customer specific configuration sql statements for PCHS (Schiphol) +-- (c) 2008 Facilitor +-- $Revision$ +-- $Id$ +-- +-- Support: +31 53 4800700 + +DEFINE thisfile = 'PCHS.SQL' +DEFINE dbuser = 'PCHS' + +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 pchs_v_rap_qr_deel +AS +SELECT fac_bookmark_naam, + fac_bookmark_id, + ins_discipline_omschrijving, + ins_srtgroep_omschrijving, + ins_srtdeel_omschrijving, + ins_deel_omschrijving, + alg_locatie_key, + alg_gebouw_omschrijving, + ins_deel_aanmaak, + ins_deel_key + FROM fac_bookmark b, ins_v_deel_gegevens d + WHERE fac_bookmark_expire IS NULL + AND fac_bookmark_id = '4CAaKT_arueGpQdk'; + + +------ payload end ------ + +SET DEFINE OFF +BEGIN adm.systrackscriptId ('$Id$', 0); END; +/ + +COMMIT; +SET ECHO OFF +SPOOL OFF +SET DEFINE ON +PROMPT Logfile of this upgrade is: &fcltlogfile