Try OpenEdge Now
skip to main content
Programming Interfaces
Data Management : ABL API for Multi-tenant and Table Partition Management : Executing DataAdminService utilities : PartitionMergeUtility class
 
PartitionMergeUtility class
Using the PartitionMergeUtility class, you can merge data from one or more partitions into a single target partition. Merging partitions is beneficial for simplifying a partitioned environment and for placing historical data into a single partition. When you merge partitions, the range of the target partition is set to the combined range of the merged partitions. The range value in the partition policy detail of the target partition is set to the highest range value of the merged partitions.

Syntax

PartitionMergeUtility(start-partition,[ end-partition,] target-partition)
You can use this utility in the following scenarios:
*Merge one partition into a target partition
*Merge multiple partitions into a target partition
* Merge one partition into a target partition
* Merge multiple partitions into a target partition