Warning:This version of CockroachDB is no longer supported. For more details, see the Release Support Policy.
ALTER DATABASE statement applies a schema change to a database.
Note:To understand how CockroachDB changes schema elements without requiring table locking or other user-visible downtime, see Online Schema Changes in CockroachDB.
For information on using
ALTER DATABASE, see the documents for its relevant subcommands.
||Change the name of a database.|