How can I find the underlying column and table name for an Oracle view?

前端 未结 7 2016
余生分开走
余生分开走 2021-01-23 05:34

This sounds like it should be simple to do but not so! There is no Oracle (meta-data) view that I can find that gives the underlying column and table name for an Oracle view col

7条回答
  •  忘掉有多难
    2021-01-23 05:56

    The linked procedures may be of some help for identifying dependencies

    The DBA_DEPENDENCIES View will give you a list of the tables that a View is based on:

    SELECT *
      FROM DBA_DEPENDENCIES
     WHERE OWNER = 
       AND NAME = 
       AND TYPE = 'VIEW'
    

提交回复
热议问题