get_foreign_keys
Retrieve foreign key relationships for a specified table in SQL Server, with optional schema, server, and database parameters to target the correct context.
Instructions
Get foreign key relationships for a table
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name | |
| schema | No | Schema name (default: dbo) | |
| server | No | Target server name (uses default if omitted) | |
| database | No | Database name (uses connection default if omitted) |