First Commit - Source Code from Reply

This commit is contained in:
vincenzofariello
2024-05-13 12:54:14 +02:00
parent 73e32a5020
commit a15aee1f08
11184 changed files with 1065913 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
--execute as DBCGO
spool /mnpapp/log/script/dbcgo_EK12_2017.log;
-----------------------------
--CREATE/MODIFY OBJECT
@@dbcgoDDL.sql
-----------------------------
--INSERT/UPDATE DATA
--@@dbcgoDML.sql
-----------------------------
commit;
spool off;

View File

@@ -0,0 +1,31 @@
-- EXEC AS USER DBCGO
-- Add field CSV4 to View DBCGO.MNP_REPORT_AGCOM_VIEW
-- to read new field CSV4 in View DWH.MNP_REPORT_AGCOM_VIEW
-- to cover further 4k segment of CLOB field CSV in table DWH.MNP_REPORT_AGCOM
-- MNP_SM_2350 Subject: Anomalia su report AGCOM
-- From: Renzulli Giuliano On: venerdì 24 novembre 2017 12:08
CREATE OR REPLACE FORCE VIEW MNP_REPORT_AGCOM_VIEW (
MESEANNO
, TIPO_REPORT
, CSV1
, CSV2
, CSV3
, CSV4
, DATA_CREAZIONE
, IDROW
) AS (
(SELECT
A.MESE ||'/'|| A.ANNO AS ANNOMESE
, A.TIPO
, A.CSV1
, A.CSV2
, A.CSV3
, A.CSV4
, A.DATA_CREAZIONE
, ROWNUM AS IDROW
FROM MNP_REPORT_AGCOM_VIEW@dwh A)
);
COMMENT ON COLUMN MNP_REPORT_AGCOM_VIEW.CSV4 IS 'Added 201712 MNP_SM_2349 - extend coverage of overgrown DWH.MNP_REPORT_AGCOM.CSV';
/

View File

@@ -0,0 +1,15 @@
--execute as DWH
spool /mnpapp/log/script/dwh_EK12_2017.log;
-----------------------------
--CREATE/MODIFY OBJECT
@@dwhDDL.sql
-----------------------------
--INSERT/UPDATE DATA
--@@dwhDML.sql
-----------------------------
commit;
spool off;

View File

@@ -0,0 +1,29 @@
-- EXEC AS USER DWH
-- Add field CSV4 to View DWH.MNP_REPORT_AGCOM_VIEW
-- to cover further 4k segment of CLOB field CSV in table DWH.MNP_REPORT_AGCOM
-- MNP_SM_2350 Subject: Anomalia su report AGCOM
-- From: Renzulli Giuliano On: venerdì 24 novembre 2017 12:08
CREATE OR REPLACE FORCE VIEW MNP_REPORT_AGCOM_VIEW (
ANNO,
MESE,
TIPO,
DATA_CREAZIONE,
CSV1,
CSV2,
CSV3,
CSV4
) AS (
SELECT ANNO,
MESE,
TIPO,
DATA_CREAZIONE,
DBMS_LOB.SUBSTR (CSV, 4000, 1) CSV1,
DBMS_LOB.SUBSTR (CSV, 4000, 4001) CSV2,
DBMS_LOB.SUBSTR (CSV, 4000, 8001) CSV3,
DBMS_LOB.SUBSTR (CSV, 4000, 12001) CSV4
FROM MNP_REPORT_AGCOM
);
COMMENT ON COLUMN MNP_REPORT_AGCOM_VIEW.CSV4 IS 'Added 201712 MNP_SM_2349 - extend coverage of overgrown DWH.MNP_REPORT_AGCOM.CSV'
/