Materialized Views - Identifying the last refresh

前端 未结 3 548
庸人自扰
庸人自扰 2021-01-31 10:08

I presently access a series of views and materialized views. The materialized are maintained by a third party who offers little information regarding the frequency and success

3条回答
  •  北恋
    北恋 (楼主)
    2021-01-31 10:47

    Unfortunately oracles default date format is YYYY-MM-DD. If you need the time just use something like this:

    SELECT owner, mview_name, to_char(LAST_REFRESH_DATE, 'yyyy-mm-dd hh24:mi:ss') last_refresh_date
    FROM all_mviews
    WHERE owner = 'FOO'
    AND mview_name = 'MV_BAR';
    

提交回复
热议问题