dbTalk Databases Forums  

dependencies of views

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss dependencies of views in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Norbert Winkler
 
Posts: n/a

Default dependencies of views - 10-07-2009 , 04:12 AM






Hi,

after migrating to Ora11 and some new synonym definitions etc.
I've a lot of invalid views.
I can see them with this select

SELECT owner,
object_type,
object_name,
status
FROM dba_objects
WHERE status = 'INVALID'
and owner = 'MY_SCHEMA'
ORDER BY owner, object_type, object_name;

To find out the source of the mistake I can try to compile the first and
the the next mistake. But it would be easier to order the above SELECT by
depencies, so that the basic views come first and then the dependent.
Is it possible.

--
Norbert
Oracle9i Enterprise Edition Release 9.2.0.8.0 64Bit

Reply With Quote
  #2  
Old   
Michel Cadot
 
Posts: n/a

Default Re: dependencies of views - 10-07-2009 , 11:13 AM






"Norbert Winkler" <norbert.winkler1 (AT) gmx (DOT) de> a écrit dans le message de news: 265ut4rv19al.13t6fvvszhz8r$.dlg (AT) 40tude (DOT) net...
Quote:
Hi,

after migrating to Ora11 and some new synonym definitions etc.
I've a lot of invalid views.
I can see them with this select

SELECT owner,
object_type,
object_name,
status
FROM dba_objects
WHERE status = 'INVALID'
and owner = 'MY_SCHEMA'
ORDER BY owner, object_type, object_name;

To find out the source of the mistake I can try to compile the first and
the the next mistake. But it would be easier to order the above SELECT by
depencies, so that the basic views come first and then the dependent.
Is it possible.

--
Norbert
Oracle9i Enterprise Edition Release 9.2.0.8.0 64Bit
http://www.dba-village.com/village/d...ScriptIdA=1236
http://www.dba-village.com/dba/villa...ScriptIdA=1237

Regards
Michel

Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.