The USER_PART_KEY_COLUMNS view provides the information about the key columns of partitioned tables in a database.

Parameter Type Description
schema_name TEXT The name of the schema where the table is located.
name TEXT The name of the table where the column is located.
object_type CHARACTER(5) This parameter is supported for compatibility only. The value is TABLE.
column_name TEXT The name of the column on which the key is defined.
column_position INTEGER The position of this column. For example, a value of 1 indicates the first column and a value of 2 indicates the second column. All columns follow the same rule.