export_table_csv
Export SQL Server table data to CSV format with optional filters, row limits, and database/schema specifications for data analysis and sharing.
Instructions
Export table data in CSV format
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database | No | Database name (optional) | |
limit | No | Maximum number of rows to export (optional) | |
schema | No | Schema name (optional, defaults to dbo) | |
table_name | Yes | Name of the table to export | |
where | No | WHERE clause conditions (optional) |
Input Schema (JSON Schema)
{
"properties": {
"database": {
"description": "Database name (optional)",
"type": "string"
},
"limit": {
"description": "Maximum number of rows to export (optional)",
"type": "number"
},
"schema": {
"description": "Schema name (optional, defaults to dbo)",
"type": "string"
},
"table_name": {
"description": "Name of the table to export",
"type": "string"
},
"where": {
"description": "WHERE clause conditions (optional)",
"type": "string"
}
},
"required": [
"table_name"
],
"type": "object"
}