SQL Flow Field Guide

DROP STATISTICS

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

removes statistics

What changes

Input
column data (sample or full scan)
Output or change
statistics object

Syntax at a glance

DROP STATISTICS table.statistics_name | view.statistics_name [ ,...n ]

Work example

A manually created statistic is no longer useful to the target query workload.

Check the statistic name, creation source, query plans, and automatic update behavior before removal.

Check your work No required plan depends on the statistic and replacement estimates remain acceptable.

Open Microsoft Learn for full syntax, permissions, and details for your version.