base_tableDDL
Retrieve the complete DDL definition for a Teradata table to understand its structure and schema. Displays the SQL statement used to create the table with full metadata details.
Instructions
Displays the DDL definition of a table via SQLAlchemy, bind parameters if provided (prepared SQL), and return the fully rendered SQL (with literals) in metadata.
Arguments: database_name - Database name table_name - table name
Returns: ResponseType: formatted response with query results + metadata
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database_name | Yes | ||
table_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"database_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Database Name"
},
"table_name": {
"title": "Table Name",
"type": "string"
}
},
"required": [
"database_name",
"table_name"
],
"type": "object"
}