Available in versions: Dev (3.21) | Latest (3.20) | 3.19

COMMENT ON MATERIALIZED VIEW

Applies to ✅ Open Source Edition   ✅ Express Edition   ✅ Professional Edition   ✅ Enterprise Edition

This statement is used to comment on a materialized view.

Dialect support

This example using jOOQ:

commentOnMaterializedView("v").is("the comment")

Translates to the following dialect specific expressions:

BigQuery

ALTER MATERIALIZED VIEW v SET OPTIONS (DESCRIPTION = 'the comment')

Oracle, Postgres, Sybase, YugabyteDB

COMMENT ON MATERIALIZED VIEW v IS 'the comment'

Redshift

COMMENT ON VIEW v IS 'the comment'

Snowflake

ALTER TABLE v SET COMMENT = 'the comment'

ASE, Access, Aurora MySQL, Aurora Postgres, ClickHouse, CockroachDB, DB2, Databricks, Derby, DuckDB, Exasol, Firebird, H2, HSQLDB, Hana, Informix, MariaDB, MemSQL, MySQL, SQLDataWarehouse, SQLServer, SQLite, Teradata, Trino, Vertica

/* UNSUPPORTED */
Generated with jOOQ 3.21. Support in older jOOQ versions may differ. Translate your own SQL on our website

Feedback

Do you have any feedback about this page? We'd love to hear it!

The jOOQ Logo