ALTER PARTITION SCHEME
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.