SQLite Forum

DROP VIEW IF EXISTS failure
Login
> Please explain to me how I should drop a view if, and only if, it exists as a view and without giving an error

Stop using the same name for tables and views. Then there is no problem.