Available in versions: Dev (3.19)

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.

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("view").is("the comment")

Translates to the following dialect specific expressions:

-- BIGQUERY
ALTER MATERIALIZED VIEW view SET OPTIONS (DESCRIPTION = 'the comment')

-- ORACLE, POSTGRES, TERADATA, YUGABYTEDB
COMMENT ON MATERIALIZED VIEW view IS 'the comment'

-- SNOWFLAKE
ALTER TABLE view SET COMMENT = 'the comment'

-- ACCESS, ASE, AURORA_MYSQL, AURORA_POSTGRES, COCKROACHDB, DB2, DERBY, DUCKDB, EXASOL, FIREBIRD, H2, HANA, HSQLDB, 
-- INFORMIX, MARIADB, MEMSQL, MYSQL, REDSHIFT, SQLDATAWAREHOUSE, SQLITE, SQLSERVER, SYBASE, TRINO, VERTICA
/* UNSUPPORTED */

(These are currently generated with jOOQ 3.19, see #10141), or translate your own on our website

Feedback

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

The jOOQ Logo