SQL Flow Field Guide

ALTER PARTITION SCHEME

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

changes partitioning metadata

What changes

Input
catalog
Output or change
partition function (boundary values) or scheme (filegroup map)

Syntax at a glance

ALTER PARTITION SCHEME partition_scheme_name NEXT USED [ filegroup_name ] [ ; ]

Work example

A new partition range needs a destination filegroup.

Check the partition function boundary and destination capacity before marking a filegroup next.

Check your work The next split maps to the approved filegroup and every existing range keeps its location.

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