CEVA#64049 Persoon met systeemadres 0 zorgde voor wat (oude) records in fac_notificatie

svn path=/Customer/; revision=50211
This commit is contained in:
Sander Schepers
2021-03-08 05:16:36 +00:00
parent 1e0b6d346f
commit 10f5774ce2

33
onces/CEVA/CEVA#64049.sql Normal file
View File

@@ -0,0 +1,33 @@
--
-- $Id$
--
-- <<Procedure om objecten om te zetten naar een andere objectsoort>>
--
DEFINE thisfile = 'CEVA#64049.SQL'
DEFINE dbuser = '^CEVA'
SET ECHO ON
SET DEFINE ON
COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT;
WHENEVER SQLERROR EXIT;
SELECT adm.scriptspoolfile('&dbuser', '&thisfile') AS fcltlogfile FROM DUAL;
WHENEVER SQLERROR CONTINUE;
SPOOL &fcltlogfile
SET DEFINE OFF
------ payload begin ------
DELETE FROM fac_notificatie
WHERE fac_notificatie_systeemadres = '0';
------ 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