SGGR#60936
svn path=/Customer/; revision=45463
This commit is contained in:
38
onces/SGGR/SGGR#60936.sql
Normal file
38
onces/SGGR/SGGR#60936.sql
Normal file
@@ -0,0 +1,38 @@
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- Corrigereer een corrupt uitleenobject
|
||||
|
||||
DEFINE thisfile = 'SGGR#60936.SQL'
|
||||
DEFINE dbuser = '^SGGR'
|
||||
|
||||
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;
|
||||
SET DEFINE OFF
|
||||
|
||||
------ payload begin ------
|
||||
|
||||
-- 801 = Leon Grevink, 4430 = JT-346-Z*
|
||||
UPDATE ins_deel d
|
||||
SET D.INS_ALG_RUIMTE_KEY = 801, d.ins_alg_ruimte_type = 'P'
|
||||
WHERE ins_deel_key = 4430;
|
||||
|
||||
------ 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