---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.4
alternate:
  - https://ydb.tech/docs/en/yql/reference/syntax/drop-view.md
  - https://ydb.tech/docs/ru/yql/reference/syntax/drop-view.md
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).

## 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)
* [ALTER VIEW](https://ydb.tech/docs/en/yql/reference/syntax/alter-view.md)
