list_constraints
Retrieve all database constraints including check, unique, foreign key, and primary key constraints across tables to understand data integrity rules and relationships.
Instructions
List all constraints (check, unique, foreign key, etc.) across tables in the database
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionString | No | SQL Server connection string (uses default if not provided) | |
| connectionName | No | Named connection to use (e.g., 'production', 'staging') | |
| schema | No | Schema name (default: dbo) | |
| constraintType | No | Filter by constraint type (default: ALL) |