First Commit - Source Code from Reply
This commit is contained in:
28
dbcmnpsrc/FE/mnpapp/script/dbUpDate/KitAprile09/SM1759.sql
Normal file
28
dbcmnpsrc/FE/mnpapp/script/dbUpDate/KitAprile09/SM1759.sql
Normal file
@@ -0,0 +1,28 @@
|
||||
--- DA ESEGUIRE COME UTENTE DBCGO
|
||||
|
||||
|
||||
|
||||
-- Creazione JOB per Refresh DBCGO_PP_MV00
|
||||
|
||||
DECLARE
|
||||
x NUMBER;
|
||||
BEGIN
|
||||
SYS.DBMS_JOB.submit
|
||||
(job => x,
|
||||
what => 'DBMS_MVIEW.REFRESH (''DBCGO_PP_MV00'',''F'');',
|
||||
NEXT_DATE => SYSDATE,
|
||||
INTERVAL => 'SYSDATE + 1/144',
|
||||
NO_PARSE => TRUE
|
||||
);
|
||||
SYS.DBMS_OUTPUT.put_line ('Job Number is: ' || TO_CHAR (x));
|
||||
END;
|
||||
/
|
||||
COMMIT;
|
||||
|
||||
--- MODIFICA AL REFRESH DELLA VISTA DBCGO_PP_MV00
|
||||
|
||||
alter materialized view DBCGO_PP_MV00
|
||||
refresh fast on demand
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user