psql/drop-view

Drop View

Delete a PostgreSQL view

view
delete

Command

DROP VIEW viewname;

Explanation

Drops an existing view from the current database.

Examples

Drop active_users view

DROP VIEW active_users;