Re: List of all views created upon a specific table
From: Paul <paul_at_see.my.sig.com>
Date: Sat, 18 Nov 2006 14:46:40 +0000
Message-ID: <b47ul2laram54tm2054pfhdqtvvp4i5gl3_at_4ax.com>
Date: Sat, 18 Nov 2006 14:46:40 +0000
Message-ID: <b47ul2laram54tm2054pfhdqtvvp4i5gl3_at_4ax.com>
Kristian <cristian_at_katamail.com> wrote:
> Let's say I have three database users:
>
> * user_a
> * user_b
> * user_c
>
> user_a has a table called table_a upon which user_b and user_c create
> their corresponding views:
>
> * user_a.table_a
> * user_b.table_b (view upon table_a)
> * user_c.table_c (view upon table_a)
>
> I'd like to know if there's an easy way to get a list of all the views
> in a database instance which were created upon a given owner/table.
>
> This would help me to avoid dropping a database user who has tables that
> other database users depend on.
Try to look at the user_views table! BTW, this group is officially dead. Post cdo.servers or cdo.misc instead.
Paul...
-- plinehan __at__ yahoo __dot__ __com__ XP Pro, SP 2, Oracle, 9.2.0.1.0 (Enterprise Ed.) Interbase 6.0.1.0; When asking database related questions, please give other posters some clues, like operating system, version of db being used and DDL. The exact text and/or number of error messages is useful (!= "it didn't work!"). Thanks. Furthermore, as a courtesy to those who spend time analysing and attempting to help, please do not top post.Received on Sat Nov 18 2006 - 15:46:40 CET