Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 21st, 2003, 10:53 PM
abhijeetgadgil abhijeetgadgil is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 abhijeetgadgil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Base tables for materialized view

When creating a materialized view, the user does mention the query that will be responsible for populating the materialized view on refresh. For example,CREATE MATERIALIZED VIEW TEST_QUERY REFRESH ON COMMIT AS SELECT A.NUM AS MAT_COLUMN_1, B.DES AS MAT_COLUMN_2 FROM BASE_TABLE_1 A, BASE_TABLE_2 B. QUESTION: In the sys.snap$ table though there is a mention of 2 tables being referenced, only one table is actually stored in the column 'master'. I need to be able to find all the base tables referred in the query. Also if I take another approach and access the view dba_mview_detail_relations, I do get the information of all the base tables present in the query BUT then this view does not HAVE information about the materialized view created in SYS schema. I need to know all the base tables that are referred irrespective of the materialized view being created in any schema.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > base tables for materialized view


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway