41 lines
1.3 KiB
SQL
41 lines
1.3 KiB
SQL
--
|
|
-- $Id$
|
|
--
|
|
-- Korte beschrijving wat het script doet
|
|
-- Voor dbuser invullen: - De import van persoonsgegevens is aangepast met SUTF#85195: ipv veel klantspecifieke sql wordt nu prs.update_perslid gebruikt
|
|
-- - De import maakte ook nog gebruik van een eigen tabel (sutf_imp_prs), maar dat is niet meer nodig.
|
|
-- - Nadat de import al twee weken goed loopt (behoudens een foutmelding dat met FCLT#80469 in de core wordt opgelost),
|
|
-- - wordt het nu tijd om de tijdelijke tabel op te schonen
|
|
|
|
DEFINE thisfile = 'SUTF#85195.SQL'
|
|
DEFINE dbuser = '^SUTF'
|
|
|
|
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 ------
|
|
|
|
DROP TABLE sutf_imp_prs;
|
|
|
|
------ 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
|