DROP PARTITION FUNCTION
removes partitioning metadata
What changes
- Input
- catalog
- Output or change
- partition function (boundary values) or scheme (filegroup map)
Syntax at a glance
DROP PARTITION FUNCTION partition_function_name [ ; ]
Work example
A partition function is retired after all tables move to another layout.
Find partition schemes and indexes that depend on the function before removal.
Check your work No partition scheme refers to the function and the replacement keeps all data ranges.
Open Microsoft Learn for full syntax, permissions, and details for your version.