describeTable
Retrieve complete schema details for a table—columns, types, nullability, keys, indexes, foreign keys, constraints—along with size and row-count statistics.
Instructions
Describe a table: returns columns (name, type, nullability, primary key, identity), indexes, foreign keys, check constraints, and table-level size/row-count statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name to describe. Optionally prefix with schema: 'schema.table' | |
| database | No | Database containing the table; omit to use the default |