Search Results uk_column_name
Overview
APPS.OE_PC_UKEY_COLS_V is a reporting view within the Oracle E-Business Suite (EBS) Applications (APPS) schema, exposed through the Order Entry / Order Management product family. Its role is to enumerate the unique key definitions that are registered in the Oracle Application Object Library (AOL) metadata repository for database objects, and to present the constituent columns of each unique key in sequence. In release 12.1.1 and 12.2.2 this view is most relevant to developers and integrators who perform metadata-driven operations such as conflict resolution, record matching, deduplication, and programmatic identification of rows within the Order Management data model. The view also plays a supporting role in the operation of the Oracle Common Application Components, where a reliable surrogate for a table's primary or unique identifier is required at runtime.
Underlying Base Objects
The view text is defined entirely over AOL dictionary tables, which appear in the APPS schema as synonyms:
- AK_UNIQUE_KEYS (SYNONYM) — the registered unique key definitions, holding the application, database object, and unique key name.
- AK_UNIQUE_KEY_COLUMNS (SYNONYM) — the mapping of unique keys to their constituent attributes and ordering.
- AK_OBJECTS (SYNONYM) — the object dictionary, including the primary key name associated with each database object.
- AK_OBJECT_ATTRIBUTES (SYNONYM) — the attribute dictionary, translating attribute codes into physical column names.
These four objects are joined on application ID, database object name, unique key name, and attribute code, so the view is essentially a normalized projection of the AOL unique-key metadata. Because it reads only dictionary metadata, it does not touch transactional order data and is inexpensive to query, though it should not be called in tight loops.
Key Columns
- APPLICATION_ID — the AOL application owning the object, as sourced from AK_UNIQUE_KEYS.
- DB_OBJECT_NAME — the database object (typically a table or view) on which the unique key is defined.
- DB_OBJECT_TYPE — a literal value, 'VIEW', emitted by the view text. It identifies the record as a view-level projection, not the type of the base object.
- UNIQUE_KEY_NAME — the registered name of the unique key.
- PRIMARY_KEY_FLAG — derived via DECODE: 'Y' when the unique key name equals the primary key name recorded in AK_OBJECTS, otherwise 'N'. This distinguishes the physical primary key from alternate unique keys.
- UK_COLUMN_SEQUENCE — the ordinal position of the column within the unique key.
- UK_COLUMN_NAME — the physical column name resolving each attribute, taken from AK_OBJECT_ATTRIBUTES.
Common Use Cases and Queries
Typical uses include discovering all alternate keys on a table, rebuilding key structures for matching engines, and generating dynamic SQL that selects by unique key rather than by ROWID. The following query lists keys and their columns for a given object:
SELECT unique_key_name, primary_key_flag, uk_column_sequence, uk_column_name
FROM apps.oe_pc_ukey_cols_v
WHERE db_object_name = 'OE_ORDER_HEADERS_ALL'
ORDER BY unique_key_name, uk_column_sequence;
A second common pattern isolates the primary key columns only:
SELECT unique_key_name, uk_column_name
FROM apps.oe_pc_ukey_cols_v
WHERE db_object_name = 'OE_ORDER_LINES_ALL'
AND primary_key_flag = 'Y'
ORDER BY uk_column_sequence;
Because the view exposes metadata rather than data, results are stable across transactional volumes and can be safely cached during batch operations. Access should be granted through the APPS schema only, as the underlying AK tables are Oracle Proprietary and Confidential Information.
-
VIEW: APPS.OE_PC_UKEY_COLS_V
12.1.1
-
View: OE_PC_UKEY_COLS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PC_UKEY_COLS_V, object_name:OE_PC_UKEY_COLS_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_PC_UKEY_COLS_V ,
-
View: OE_PC_UKEY_COLS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PC_UKEY_COLS_V, object_name:OE_PC_UKEY_COLS_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_PC_UKEY_COLS_V ,
-
VIEW: APPS.OE_PC_UKEY_COLS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PC_UKEY_COLS_V, object_name:OE_PC_UKEY_COLS_V, status:VALID,
-
VIEW: APPS.OE_PC_UKEY_COLS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PC_UKEY_COLS_V, object_name:OE_PC_UKEY_COLS_V, status:VALID,
-
View: OE_PC_FKEY_COLS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PC_FKEY_COLS_V, object_name:OE_PC_FKEY_COLS_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_PC_FKEY_COLS_V ,
-
View: OE_PC_FKEY_COLS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PC_FKEY_COLS_V, object_name:OE_PC_FKEY_COLS_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_PC_FKEY_COLS_V ,
-
VIEW: APPS.OE_PC_FKEY_COLS_V
12.2.2
-
VIEW: APPS.OE_PC_UKEY_COLS_V
12.2.2
-
VIEW: APPS.OE_PC_FKEY_COLS_V
12.1.1
-
VIEW: APPS.OE_PC_FKEY_COLS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PC_FKEY_COLS_V, object_name:OE_PC_FKEY_COLS_V, status:VALID,
-
VIEW: APPS.OE_PC_FKEY_COLS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PC_FKEY_COLS_V, object_name:OE_PC_FKEY_COLS_V, status:VALID,
-
APPS.OE_PC_CONSTRAINTS_ADMIN_PVT SQL Statements
12.1.1
-
APPS.OE_PC_CONSTRAINTS_ADMIN_PVT SQL Statements
12.2.2
-
APPS.OE_PC_CONSTRAINTS_ADMIN_PVT dependencies on OE_PC_FKEY_COLS_V
12.1.1
-
APPS.OE_PC_CONSTRAINTS_ADMIN_PVT dependencies on OE_PC_UKEY_COLS_V
12.1.1
-
APPS.OE_PC_CONSTRAINTS_ADMIN_PVT dependencies on OE_PC_UKEY_COLS_V
12.2.2
-
APPS.OE_PC_CONSTRAINTS_ADMIN_PVT dependencies on OE_PC_FKEY_COLS_V
12.2.2
-
PACKAGE BODY: APPS.OE_PC_CONSTRAINTS_ADMIN_PVT
12.1.1
-
PACKAGE BODY: APPS.OE_PC_CONSTRAINTS_ADMIN_PVT
12.2.2
-
eTRM - ONT Tables and Views
12.2.2
description: OM WorkFlow Activity Skip Log. ,
-
eTRM - ONT Tables and Views
12.1.1
description: OM WorkFlow Activity Skip Log. ,