SHOW SCHEMAS lists all in a database.
Required privileges
TheCONNECT on the database is required to list the schemas in a database.
Synopsis
Parameters
| Parameter | Description |
|---|---|
name | The name of the database for which to show . When omitted, the schemas in the are listed. |
Example
Setup
The following examples use MovR, a fictional vehicle-sharing application, to demonstrate CockroachDB SQL statements. For more information about the MovR example application and dataset, see . To follow along, run to start a temporary, in-memory cluster with themovr dataset preloaded:

