Tables in views
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Tables in views

  1. #1
    Join Date
    Jan 2001
    Posts
    4
    How can I find tables used in views ?
    How can I find views used on tables ?

    How can I know view text ?
    I know the table "dba_views", but the column "text" is unexploitable.
    Valerie

  2. #2
    Join Date
    Jul 2000
    Posts
    296
    Try DBA_DEPENDENCIES.

    If you are interested in tables used in views:

    SELECT *
    FROM user_dependencies
    WHERE type = 'VIEW'
    AND referenced_type = 'TABLE';

  3. #3
    Join Date
    Jan 2001
    Posts
    4
    It's OK
    It's the result I was waiting for !
    Valerie

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width