GETPARTITIONNAME

You can use GETPARTITIONNAME when you need to know the name of the partition to which the data for the given object belongs.

Syntax:
GETPARTITIONNAME (single-partitioned-object-expression)
Meaning:
GETPARTITIONNAME (partitioned_object)
Returns:
A single simple object name

GETPARTITIONNAME returns a text item that represents the name of the partition to which the data for partitioned_object belongs.

Examples

  • GETPARTITIONNAME (Transaction:File)

    The type defined by Transaction is a partitioned object that has three partitions: Add, Delete, and Modify. In this example, if the input data for Transaction belongs to the Delete partition, the GETPARTITIONNAME function returns "delete".

Related functions

  • PARTITION

Feedback