BAMG#67179 -- Implementatie BAMG
svn path=/Customer/; revision=51662
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
SET ECHO ON
|
||||
SPOOL xBAMG#25562.lst
|
||||
PROMPT $Revision$
|
||||
|
||||
|
||||
DROP PROCEDURE bamg_import_telefoon;
|
||||
|
||||
DROP PROCEDURE bamg_update_telefoon;
|
||||
|
||||
DROP VIEW bamg_v_imp_telefoon;
|
||||
|
||||
DROP VIEW bamg_v_imp_telefoon_del_now;
|
||||
|
||||
DROP VIEW bamg_rap_perslid_2delete;
|
||||
|
||||
DROP VIEW bamg_rap_telefoon_error;
|
||||
|
||||
DROP VIEW bamg_v_imp_telefoon_del;
|
||||
|
||||
DROP VIEW bamg_v_imp_telefoon_upd;
|
||||
|
||||
DROP VIEW bamg_v_imp_telefoon_ins;
|
||||
|
||||
DROP VIEW bamg_v_imp_telefoon_mod;
|
||||
|
||||
DROP PACKAGE bamg_import_export;
|
||||
|
||||
DROP PROCEDURE bamg_import_telefoon;
|
||||
|
||||
DROP PROCEDURE bamg_update_telefoon;
|
||||
|
||||
DROP TABLE bamg_imp_telefoon;
|
||||
|
||||
BEGIN adm.systrackscript('$Workfile: BAMG#25562.sql $', '$Revision$', 1); END;
|
||||
/
|
||||
|
||||
COMMIT;
|
||||
|
||||
SPOOL OFF
|
||||
|
||||
@@bamg.sql;
|
||||
@@ -1,16 +0,0 @@
|
||||
|
||||
update prs_perslidwerkplek pw
|
||||
set PW.PRS_PERSLIDWERKPLEK_VERWIJDER = SYSDATE
|
||||
where PW.PRS_PERSLIDWERKPLEK_VERWIJDER is null
|
||||
and pw.prs_werkplek_key IN (
|
||||
select W.PRS_WERKPLEK_KEY
|
||||
from prs_werkplek w, alg_ruimte r, alg_verdieping v, alg_gebouw g
|
||||
where W.PRS_ALG_RUIMTE_KEY = r.alg_ruimte_key
|
||||
and R.ALG_VERDIEPING_KEY = v.alg_verdieping_key
|
||||
and v.alg_gebouw_key = g.alg_gebouw_key
|
||||
and g.alg_gebouw_key = 4081
|
||||
and W.PRS_WERKPLEK_VERWIJDER is null
|
||||
and R.ALG_RUIMTE_VERWIJDER is null
|
||||
);
|
||||
|
||||
commit;
|
||||
32
onces/BAMG/BAMG1.sql
Normal file
32
onces/BAMG/BAMG1.sql
Normal file
@@ -0,0 +1,32 @@
|
||||
-- $Id$
|
||||
--
|
||||
-- Init voor opzetten nieuwe klantomgeving BAMG
|
||||
|
||||
DEFINE thisfile = 'BAMG1.SQL'
|
||||
DEFINE dbuser = '^BAMG'
|
||||
|
||||
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 ------
|
||||
|
||||
UPDATE fac_version SET fac_version_cust = 'BAMG', fac_version_otap = NULL;
|
||||
|
||||
|
||||
------ 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