Logo icon
    • Contents
    • Quick start
    • Concepts
    • For DevOps
    • For Developers
    • For Security Engineers
    • For Contributors
    • Reference
      • YQL
        • Overview
          • Overview
          • Lexical structure
          • Expressions
          • ACTION
          • ALTER ASYNC REPLICATION
          • ALTER GROUP
          • ALTER VIEW
          • ALTER TOPIC
          • ALTER USER
          • ANALYZE
          • CREATE ASYNC REPLICATION
          • CREATE GROUP
          • CREATE OBJECT TYPE SECRET
          • CREATE VIEW
          • CREATE TOPIC
          • CREATE USER
          • COMMIT
          • DECLARE
          • DELETE
          • DROP ASYNC REPLICATION
          • DROP GROUP
          • DROP TABLE
          • DROP VIEW
          • DROP USER
          • GRANT
          • GROUP BY
          • FLATTEN
          • INSERT
          • INTO RESULT
          • JOIN
          • PRAGMA
          • REPLACE
          • REVOKE
          • UPDATE
          • UPSERT
          • VALUES
          • WINDOW
          • Unsupported statements
        • Query plans
      • Compatibility with PostgreSQL
      • Embedded UI
      • Integrations
      • YDB CLI
      • YDB Native SDK
      • Languages and APIs
      • Kafka API
      • Configuration
      • Observability
      • YDB DStool
      • ydbops
      • Docker
    • Recipes
    • Troubleshooting
    • Questions and answers
    • Downloads

    In this article:

    • Syntax
    • Parameters
    • Examples
    • See also
    1. Reference
    2. YQL
    3. Syntax
    4. DROP VIEW

    DROP VIEW

    • Syntax
      • Parameters
    • Examples
    • See also

    DROP VIEW deletes an existing view.

    Syntax

    DROP VIEW <name>
    

    Parameters

    • name - the name of the view to be deleted.

    Examples

    The following command will drop the view named recent_series:

    DROP VIEW recent_series;
    

    See also

    • CREATE VIEW
    • ALTER VIEW

    Was the article helpful?

    Previous
    DROP TABLE
    Next
    DROP USER