Delete Stuck Drupal View

Last modified: 
Sunday, March 29th, 2015

How to delete a view that won't delete via the GUI.

Get the view id (vid)

FROM machine_name
WHERE name = "links"

Delete the Views Entries

Delete the views entries using the vid you got above.

DELETE FROM views_view WHERE vid = vid;
DELETE FROM views_display WHERE vid = vid;

The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.