get_table_constraints
Retrieve all constraints on a table, including PRIMARY KEY, UNIQUE, CHECK, and DEFAULT.
Instructions
Get all constraints on a table: PRIMARY KEY, UNIQUE, CHECK, and DEFAULT
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name | |
| schema | Yes | Schema name (e.g. dbo) | |
| database | No | Database name (defaults to the configured default database) |