Use the DROP VIEW command to remove a view from the current database.
DROP VIEW <name>[,<name>…]
| Input | Description |
|---|---|
| <name> | The name of the view to be dropped. |
| Output | Description |
|---|---|
| DROP VIEW | The command was successful. |
| ERROR: Name: No such view | The specified view does not exist in the current database. |
You must be the admin user, the view owner, the owner of the database or schema where the view is defined, or your account must have Drop privilege for theview or for the View object class.
MYDB.SCH1(USER)=> DROP VIEW kinds;