sql_inspect_table
Inspect a table's full structure, including columns with types, nullability, defaults, primary and foreign keys, indexes, and row count to understand database schema and resolve data issues.
Instructions
Show full details about a table: columns with types/nullability/defaults, primary keys, foreign keys, indexes, and row count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name (e.g. 'Orders' or 'dbo.Orders') |