Available in versions: Dev (3.19) | Latest (3.18) | 3.17 | 3.16 | 3.15 | 3.14 | 3.13 | 3.12 | 3.11 | 3.10 | 3.9
ALTER VIEW .. RENAME
Applies to ✅ Open Source Edition ✅ Express Edition ✅ Professional Edition ✅ Enterprise Edition
alterView("v").renameTo("new_name")
Translates to the following dialect specific expressions:
-- ASE, SQLSERVER EXEC sp_rename v, new_name -- AURORA_POSTGRES, COCKROACHDB, DUCKDB, H2, POSTGRES, SNOWFLAKE, TRINO, VERTICA ALTER VIEW v RENAME TO new_name -- EXASOL, TERADATA RENAME VIEW v TO new_name -- HSQLDB, YUGABYTEDB ALTER TABLE v RENAME TO new_name -- ORACLE RENAME v TO new_name -- ACCESS, AURORA_MYSQL, BIGQUERY, DB2, DERBY, FIREBIRD, HANA, INFORMIX, MARIADB, MEMSQL, MYSQL, REDSHIFT, -- SQLDATAWAREHOUSE, SQLITE, SYBASE /* 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!