PNBR#64700: Monitoring werkplekbezetting in Facilitor
svn path=/Customer/; revision=51212
This commit is contained in:
49
onces/PNBR/PNBR#64700.sql
Normal file
49
onces/PNBR/PNBR#64700.sql
Normal file
@@ -0,0 +1,49 @@
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- PNBR#64700: Monitoring werkplekbezetting in Facilitor
|
||||
-- Aanmaken voor een tabel voor het opslaan van gecumuleerde sensor data
|
||||
-- Dient als basis voor de management rapportages rondom bezetting van het Provinciehuis
|
||||
--
|
||||
DEFINE thisfile = 'PNBR#64700.SQL'
|
||||
DEFINE dbuser = '^PNBR'
|
||||
|
||||
SET ECHO ON
|
||||
SET DEFINE ON
|
||||
COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT;
|
||||
COLUMN fcltcusterr NEW_VALUE fcltcusterr NOPRINT;
|
||||
WHENEVER SQLERROR CONTINUE;
|
||||
SELECT adm.getscriptspoolfile('&thisfile') AS fcltlogfile FROM DUAL;
|
||||
SPOOL &fcltlogfile
|
||||
WHENEVER SQLERROR EXIT;
|
||||
SELECT adm.checkscriptcust('&dbuser') AS fcltcusterr FROM DUAL;
|
||||
WHENEVER SQLERROR CONTINUE;
|
||||
PROMPT &fcltcusterr
|
||||
SET DEFINE OFF
|
||||
|
||||
------ payload begin ------
|
||||
|
||||
CREATE TABLE pnbr_werkplekbezetting
|
||||
(
|
||||
ins_deel_key NUMBER (10),
|
||||
alg_ruimte_key NUMBER (10),
|
||||
ins_deel_state VARCHAR2 (128),
|
||||
ins_deel_state_date DATE,
|
||||
status VARCHAR2 (128),
|
||||
duur_status NUMBER (10)
|
||||
);
|
||||
|
||||
COMMIT;
|
||||
|
||||
|
||||
------ payload end ------
|
||||
|
||||
SET DEFINE OFF
|
||||
BEGIN adm.systrackscriptId ('$Id$', 1); END;
|
||||
/
|
||||
|
||||
COMMIT;
|
||||
SET ECHO OFF
|
||||
SPOOL OFF
|
||||
SET DEFINE ON
|
||||
PROMPT Logfile of this upgrade is: &fcltlogfile
|
||||
Reference in New Issue
Block a user