Skip to main content
The SHOW SCHEMAS statement lists all schemas in a database.

Required privileges

The CONNECT privilege on the database is required to list the schemas in a database.

Synopsis

show_schemas syntax diagram

Parameters

Example

Setup

To follow along, run cockroach demo to start a temporary, in-memory cluster with the movr sample dataset preloaded:

Show schemas in the current database

See also