get_column_distribution
Analyze column value distribution in SQL Server. Get top N values, frequency counts, and optional histogram. Specify table and column names.
Instructions
Get detailed distribution statistics for a specific column
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | Number of top values to return (default: 20) | |
| schema | No | Schema name (default: dbo) | |
| tableName | Yes | Name of the table | |
| columnName | Yes | Name of the column | |
| includeHistogram | No | Include histogram analysis (default: false) |