Merging of a Partition in SQL SERVER


§The partitions can be merged by merging the partition ranges. The partition range value mentioned will merge that to the next greater partition range value into a singe partition.
§The syntax is as follows
  ALTER PARTITION FUNCTION partition_function_name() {   SPLIT RANGE ( boundary_value ) | MERGE RANGE (   boundary_value ) } [ ; ]
§The below shows the example for the same
        ALTER PARTITION FUNCTION EmployeePartitionLeft()   MERGE RANGE(150)

Comments

Popular posts from this blog

“Unable to retrieve the metadata for …” Error while using ASP.NET MVC 3

2012 - > 2013 : Happy New Year

Visual Studio 2013 and .NET 4.5.1