---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://ydb.tech/docs/en/yql/reference/syntax/drop-view.md?version=v26.1
  - https://ydb.tech/docs/ru/yql/reference/syntax/drop-view.md?version=v26.1
  - href: en/yql/reference/syntax/drop-view.md
    type: text/markdown
    title: Markdown version
  - href: ../../../llms.txt
    type: text/markdown
    title: llms.txt
sourcePath: en/core/yql/reference/syntax/drop-view.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

# DROP VIEW

`DROP VIEW` deletes an existing [view](https://ydb.tech/docs/en/concepts/datamodel/view.md?version=v26.1).

## Syntax

```yql
DROP VIEW [IF EXISTS] <name>
```

### Parameters

* `IF EXISTS` - when specified, the statement does not return an error if a view with the given name does not exist.
* `name` - the name of the view to be deleted.

## Examples

The following command will drop the view named `recent_series`:

```yql
DROP VIEW recent_series;
```

## See also

* [CREATE VIEW](https://ydb.tech/docs/en/yql/reference/syntax/create-view.md?version=v26.1)
* [ALTER VIEW](https://ydb.tech/docs/en/yql/reference/syntax/alter-view.md?version=v26.1)
