describe_table
Retrieve detailed table metadata including columns, primary key, foreign keys, unique and check constraints, and indexes. Understand table structure and relationships quickly.
Instructions
Describe a table: columns (type, nullability, default, comment), primary key, foreign keys, unique constraints, check constraints, and indexes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table or view name. | |
| schema | No | Schema name. Defaults to the server's default schema. |