Function DROP-VIEW — Drops a database view.
Function
drop-view name &key if-does-not-exist database =>
The name of the view as a string, symbol or SQL expression.
A database object which defaults to *default-database*.
A symbol. Meaningful values are :ignore or :error (the default).
Drops the view called name from database which defaults to *default-database*. If the view does not exist and if-does-not-exist is :ignore then drop-view returns NIL whereas an error is signalled if if-does-not-exist is :error.
(view-exists-p [foo]) => T (drop-view [foo] :if-does-not-exist :ignore) => (view-exists-p [foo]) => NIL
A view is dropped database.
*default-database*
An error is signalled if name is not a string, symbol or SQL expression. An error of type sql-database-data-error is signalled if name doesn't exist and if-does-not-exist has a value of :error.
The if-does-not-exist keyword argument to drop-view is a CLSQL extension.