---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ydb.tech/docs/en/yql/reference/syntax/alter-view.md?version=main
  - https://ydb.tech/docs/ru/yql/reference/syntax/alter-view.md?version=main
sourcePath: en/core/yql/reference/syntax/alter-view.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

# ALTER VIEW

`ALTER VIEW` changes the definition of a [view](https://ydb.tech/docs/en/concepts/datamodel/view.md?version=main).

{% note warning %}

This feature is not supported yet.

{% endnote %}

Instead, you can redefine a view by dropping it and recreating it with a different query or options:

```yql
DROP VIEW redefined_view;
CREATE VIEW redefined_view ...;
```

Please note that the two statements are executed separately, unlike a single `ALTER VIEW` statement. If a view is recreated in this way, it might be possible to observe the view in a deleted state for a brief moment.

## See also

* [CREATE VIEW](https://ydb.tech/docs/en/yql/reference/syntax/create-view.md?version=main)
* [DROP VIEW](https://ydb.tech/docs/en/yql/reference/syntax/drop-view.md?version=main)
