YKPN#63398 -- Toevoegen budgethouder en leidinggevende aan import
svn path=/Customer/; revision=48503
This commit is contained in:
38
onces/YKPN/YKPN#63398.sql
Normal file
38
onces/YKPN/YKPN#63398.sql
Normal file
@@ -0,0 +1,38 @@
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- Korte beschrijving wat het script doet
|
||||
-- Extra kolom toevoegen aan de import tabel om ook de budgethouder in te lezen vanuit IAM.
|
||||
DEFINE thisfile = 'YKPN#63398'
|
||||
DEFINE dbuser = '^YKPN'
|
||||
|
||||
SET ECHO ON
|
||||
SET DEFINE ON
|
||||
SET serveroutput 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 ------
|
||||
|
||||
ALTER TABLE ykpn_imp_organisatie
|
||||
ADD prs_budgethouder VARCHAR2 (16);
|
||||
|
||||
------ 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