SQLite Forum

DROP VIEW IF EXISTS failure
Login
```
DROP TABLE IF EXISTS <name>;
```

also returns an error message if `<name>` is a view rather than a table, in order to tell **YOU** that **YOU** made an error in keeping track of **YOUR** objects.

```
CREATE TABLE IF NOT EXISTS <name> ...
CREATE VIEW IF NOT EXISTS <name> ...
```

does not return an error if a table/view `<name>` exists, because why would it?