get_table_definition
Retrieve the full CREATE TABLE statement for any table in a SQL Server database. Useful for understanding table schemas or recreating tables.
Instructions
Get the full CREATE TABLE definition for a table
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Database name | |
| table | Yes | Table name (can include schema, e.g., 'dbo.Users') |