-Drops a partition and merges any values that exist in the partition into a remaining partition. RANGE (*boundary_value*) must be an existing boundary value, into which the values from the dropped partition are merged. This argument removes the filegroup that originally held *boundary_value* from the partition scheme unless a remaining partition uses it, or marks it with the NEXT USED property. The merged partition exists in the filegroup that didn't hold *boundary_value* at first. *boundary_value* is a constant expression that can reference variables (including user-defined type variables) or functions (including user-defined functions). It can't reference a [!INCLUDE[tsql](../../includes/tsql-md.md)] expression. *boundary_value* must either match or be implicitly convertible to the data type of its corresponding partitioning column. You also can't truncate *boundary_value* during implicit conversion in a way that the size and scale of the value doesn't match that of its corresponding *input_parameter_type*.
0 commit comments