📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

DROP VIEW



Drop the view.

Syntax

DROP VIEW [ IF EXISTS ] [ <database_name>. ]view_name

Examples

DROP VIEW IF EXISTS tmp_view; SELECT * FROM tmp_view; ERROR 1105 (HY000): Code: 1025, Text = Unknown table 'tmp_view'.

Was this page helpful?