Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
 Phone
 800-766-1884
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

Privacy Policy

 

   
 

ss

Oracle Tips by Burleson 

Chapter 7 Oracle Storage and Object Internal Scripting  

COLUMN refreshed                     HEADING "Last Refresh"
COLUMN start         FORMAT a13      HEADING "Start Refresh"
COLUMN error                         HEADING "Error"
COLUMN next          FORMAT a13      HEADING "Next Refresh"
rem
PROMPT Percent signs are wild card
ACCEPT mv_owner PROMPT Enter the materialized view owner
ttitle "Materialized View Report for &mv_owner"
SPOOL mv_rep&db
rem
SELECT
     Owner||'.'||mview_name mv, master_view,
     master_link Source,
     substr(query,1,query_len) query,
     updatable,
     update_log Log, last_refresh_date Refreshed,
DECODE(refresh_mode,'FAST','F','COMPLETE','C','FORCE','FR','COMMIT','CM'),
     query
     master_rollback_segment rbk
FROM dba_mviews
SEE CODE DEPOT FOR FULL SCRIPT
ORDER BY owner,mview_name;
rem
SPOOL OFF

Here is a sample listing.

                                   Use           Ref



 

The Oracle script collection contains more than 600 working Oracle scripts.  You can download them immediately at this link:
 


 

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

 Copyright © 1996 -2017 by Burleson. All rights reserved.


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks