PCHX#85235 -- Optimalisaties Schiphol: QR codes en SKIdata koppeling
svn path=/Customer/trunk/; revision=66320
This commit is contained in:
57
PCHS/pchs.sql
Normal file
57
PCHS/pchs.sql
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user