> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cockroachlabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SHOW ENUMS

The `SHOW ENUMS` statement lists the [enumerated data types](/docs/stable/enum.md) in the current database.

## Syntax

![show\_enums syntax diagram](https://mintcdn.com/cockroachlabs/UZNSFbmU2EwEm6G5/images/sql-diagrams/common/show_enums.svg?fit=max\&auto=format\&n=UZNSFbmU2EwEm6G5\&q=85\&s=dd83e33e04d3387e52f3c053331612fa)

## Parameters

| Parameter | Description |
| - | - |
| `name` `name.name` | The name of the [schema](/docs/stable/create-schema.md) from which to show enumerated data types, or the name of the [database](/docs/stable/create-database.md) and the [schema](/docs/stable/create-schema.md), separated by a "`.`". |

## Examples

The following example creates a [user-defined type](/docs/stable/create-type.md).

```sql theme={"theme":{"light":"catppuccin-mocha","dark":"catppuccin-mocha"}}
> CREATE TYPE weekday AS ENUM ('monday', 'tuesday', 'wednesday', 'thursday', 'friday');
```

```sql theme={"theme":{"light":"catppuccin-mocha","dark":"catppuccin-mocha"}}
> CREATE TYPE weekend AS ENUM ('sunday', 'saturday');
```

```sql theme={"theme":{"light":"catppuccin-mocha","dark":"catppuccin-mocha"}}
> SHOW ENUMS;
```

```
  schema |  name   |                   values                   | owner
---------+---------+--------------------------------------------+--------
  public | weekday | {monday,tuesday,wednesday,thursday,friday} | demo
  public | weekend | {sunday,saturday}                          | demo
(2 rows)
```

```sql theme={"theme":{"light":"catppuccin-mocha","dark":"catppuccin-mocha"}}
> SHOW ENUMS FROM movr.public;
```

```
  schema |  name   |                   values                   | owner
---------+---------+--------------------------------------------+--------
  public | weekday | {monday,tuesday,wednesday,thursday,friday} | demo
  public | weekend | {sunday,saturday}                          | demo
(2 rows)
```

## See also

* [`ENUM`](/docs/stable/enum)
* [Data types](/docs/stable/data-types.md)
* [`CREATE TYPE`](/docs/stable/create-type)
* [`ALTER TYPE`](/docs/stable/alter-type)
* [`DROP TYPE`](/docs/stable/drop-type)
