Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Question on a select statement

Re: Question on a select statement

From: Marc Mazerolle <informaze_at_sympatico.ca>
Date: Tue, 06 Jul 1999 19:19:01 GMT
Message-ID: <37825836.70D985D5@sympatico.ca>


Why don't u use the DBA_DEPENDENCIES view???? it does all this for u.

Marc

yong321_at_yahoo.com wrote:

> I want to look at some entries in sys.public_dependency view. But it
> contains columns object_id and referenced_object_id instead of
> object_name. I want to view them as names. This is my select statement:
>
> select a.object_name,b.object_name
> from sys.public_dependency c,all_objects a,all_objects b
> where c.object_id=a.object_id and c.referenced_object_id=b.object_id
>
> It seems to show the result correctly. But I want to confirm with
> experts in this newsgroup. Thanks.
>
> Yong
> Email:yong321_at_yahoo.com
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
Received on Tue Jul 06 1999 - 14:19:01 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US