Get Tables Index Health
mssql_table_index_healthAssess SQL Server table index health for specified tables by checking fragmentation and usage, then receive fill factor advice and a suggested maintenance script.
Instructions
Index health for the given tables: fragmentation, usage, fill factor advice and a suggested maintenance script.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableNames | Yes | List of table names to assess. | |
| databaseName | No | Target database. Defaults to connected database. |