Warning:
Cockroach Labs will stop providing Assistance Support for this version on July 1, 2020. Prior to that date, upgrade to a more recent version to continue receiving support. For more details, see the Release Support Policy.

The ALTER DATABASE statement applies a schema change to a database.

Note:

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.

Subcommand Description
CONFIGURE ZONE New in v2.1: Configure replication zones for a database.
RENAME Change the name of a database.


Yes No