WOMA#64513 -- Foutief inspecties record herstellen ivm unique constraint bij accorderen
svn path=/Customer/; revision=48642
This commit is contained in:
40
onces/WOMA/WOMA#64513.sql
Normal file
40
onces/WOMA/WOMA#64513.sql
Normal file
@@ -0,0 +1,40 @@
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- Herstellen van foute inspecties die voor unique contraint zorgt bij accorderen.
|
||||
--
|
||||
--
|
||||
--
|
||||
DEFINE thisfile = 'WOMA#64513.sql'
|
||||
DEFINE dbuser = '^WOMA'
|
||||
|
||||
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 ------
|
||||
|
||||
UPDATE ins_deelsrtcontrole
|
||||
SET ins_deelsrtcontrole_datum_org = ins_deelsrtcontrole_datum
|
||||
WHERE ins_deelsrtcontrole_key = 10149;
|
||||
|
||||
------ 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