FMHN#77461 Post script na refresh van ACCP

svn path=/Customer/trunk/; revision=59834
This commit is contained in:
Sander Schepers
2023-03-30 21:33:57 +00:00
parent dcfa8863f5
commit 419df3d384

View File

@@ -4,15 +4,19 @@
-- Technisch adres instellen bij Poortcentraal, naar accepatie
DEFINE thisfile = 'post-imp_FMHN_accp.sql'
DEFINE dbuser = '*'
DEFINE dbuser = 'FMHN_TEST'
SET ECHO ON
SET DEFINE ON
COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT;
WHENEVER SQLERROR EXIT;
SELECT adm.scriptspoolfile('&dbuser', '&thisfile') AS fcltlogfile FROM DUAL;
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 ------
@@ -36,4 +40,3 @@ SET ECHO OFF
SPOOL OFF
SET DEFINE ON
PROMPT Logfile of this upgrade is: &fcltlogfile
quit