How to get list of all materialized views in oracle

后端 未结 4 1011
陌清茗
陌清茗 2021-02-05 04:27

How to get list of all Materialized Views.?

4条回答
  •  清歌不尽
    2021-02-05 04:59

    Actually ALL_MVIEWS and ALL_SNAPHOTS displays only the views the user has granted access on. To see all views in a database you must query DBA_MVIEWS or DBA_SNAPHOTS. You need special privileges or roles to query this view like the system privilege SELECT ANY DICTIONARY or the role SELECT_CATALOG_ROLE. A similar statement holds for other ALL_ and DBA_ views.

提交回复
热议问题