39 lines
952 B
SQL
39 lines
952 B
SQL
--
|
|
-- $Id$
|
|
--
|
|
-- Customer specific once-script VLKC#68914.sql.
|
|
DEFINE thisfile = 'VLKC#68914.sql'
|
|
DEFINE dbuser = '^VLKC'
|
|
|
|
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 ------
|
|
|
|
-- VLKC#68914: Omkatten archetype alle contractsoorten (Plaats->Plaats en/of objectsoort)!
|
|
UPDATE cnt_disc_params
|
|
SET cnt_srtcontract_type = 3
|
|
WHERE cnt_srtcontract_type != 3;
|
|
|
|
------ 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
|