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

Jesus - God Thinks of you.

ASP.NET 4.0 Feature - URL Routing

Tips on JQuery Intellisense in VS 2008