Warning:CockroachDB v2.1 is no longer supported. For more details, see the Release Support Policy.
ALTER DATABASE statement applies a schema change to a database.
This statement performs a schema change. For more information about how online schema changes work in CockroachDB, see Online Schema Changes.
For information on using
ALTER DATABASE, see the documents for its relevant subcommands.
||New in v2.1: Configure replication zones for a database.|
||Change the name of a database.|