物化视图SQL,如果没有结果集,就证明数据库中不存在物化视图

 select a.owner,'' column_name,a.table_name,b.segment_name,b.segment_type,
ROUND(b.BYTES / 1024 / 1024) fp_mb
from DBA_VIEWS a, dba_segments b
where a.owner = 'COGLINK' and a.VIEW_NAME = b.segment_name ;
05-07 15:46