PIVP#70961 -- Implementatie van Facilitor bij PivotPark
svn path=/Customer/; revision=56376
This commit is contained in:
43
onces/PIVP/PIVP#OPDR_STRUKTON.sql
Normal file
43
onces/PIVP/PIVP#OPDR_STRUKTON.sql
Normal file
@@ -0,0 +1,43 @@
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- Customer specific once-script PIVO#OPDR_STRUKTON.sql.
|
||||
DEFINE thisfile = 'PIVP#OPDR_STRUKTON.sql'
|
||||
DEFINE dbuser = '^PIVP'
|
||||
|
||||
SET ECHO ON
|
||||
SET DEFINE ON
|
||||
COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT;
|
||||
WHENEVER SQLERROR EXIT;
|
||||
SELECT adm.scriptspoolfile('&dbuser', '&thisfile') AS fcltlogfile FROM DUAL;
|
||||
WHENEVER SQLERROR CONTINUE;
|
||||
SPOOL &fcltlogfile
|
||||
SET DEFINE OFF
|
||||
|
||||
------ payload begin ------
|
||||
|
||||
-- Import table tbv Strukton/Spie opdracht status updates!
|
||||
CREATE TABLE pivp_imp_opdrstat_strukton
|
||||
(
|
||||
mld_opdr_key NUMBER (10),
|
||||
extern_nummer VARCHAR2 (100),
|
||||
status NUMBER (10),
|
||||
datumtijd DATE,
|
||||
opmerking VARCHAR2 (4000),
|
||||
totaal NUMBER (8, 2)
|
||||
);
|
||||
|
||||
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