Skip to main content
The SHOW CONSTRAINTS lists all named as well as any unnamed constraints on a table.

Required privileges

The user must have any on the target table.

Aliases

SHOW CONSTRAINT is an alias for SHOW CONSTRAINTS.

Synopsis

show_constraints syntax diagram

Parameters

Response

The following fields are returned for each constraint.

Example

See also