List views in Vertica database

Query below lists all views in Vertica database

Query

select table_schema as view_schema,
       table_name as view_name,
       create_time
from v_catalog.views
order by table_schema,
         table_name;

Columns

  • view_schema - schema name
  • view_name - view name
  • create_time - view creation datetime

Rows

  • One row represents one view
  • Scope of rows: all views in Vertica database
  • Ordered by view schema, view name

Sample results