partition_id

Returns the partition ID of the specified data or index partition name.

Syntax

partition_id(table_name, partition_name[,index_name])

Parameters

Examples

Usage

You must enclose table_name, partition_name and index_name in quotes.

Related reference
data_pages
object_id
partition_name
reserved_pages
row_count
used_pages