get_relationships
Retrieve foreign key relationships between tables in a SQL Server database. Specify connection details, schema, or use defaults to quickly analyze table interdependencies.
Instructions
Get foreign key relationships between tables in the database
Input Schema
Name | Required | Description | Default |
---|---|---|---|
connectionName | No | Named connection to use (e.g., 'production', 'staging') | |
connectionString | No | SQL Server connection string (uses default if not provided) | |
schema | No | Schema name (default: dbo) |