This documentation is for the unreleased development version of jOOQ. Click on the above version links to get this documentation for a supported version of jOOQ.
DROP MATERIALIZED VIEW
Applies to ✅ Open Source Edition ✅ Express Edition ✅ Professional Edition ✅ Enterprise Edition
A MATERIALIZED VIEW must be dropped with the dedicated DROP MATERIALIZED VIEW
statement in most dialects.
// Drop a materialized view create.dropMaterializedView("view").execute();
Dialect support
This example using jOOQ:
dropMaterializedView("v")
Translates to the following dialect specific expressions:
BigQuery, CockroachDB, Oracle, Postgres, Redshift, Snowflake, Sybase, YugabyteDB
DROP MATERIALIZED VIEW v
DB2
DROP TABLE v
ASE, Access, Aurora MySQL, Aurora Postgres, ClickHouse, Derby, DuckDB, Exasol, Firebird, H2, HSQLDB, Hana, Informix, MariaDB, MemSQL, MySQL, SQLDataWarehouse, SQLServer, SQLite, Teradata, Trino, Vertica
/* UNSUPPORTED */
Generated with jOOQ 3.20. Translate your own SQL on our website
Feedback
Do you have any feedback about this page? We'd love to hear it!