Specify a Logical Table's Primary Key
After creating logical tables and adding columns to them, you specify a primary key for each dimension table.
Logical dimension tables must have a logical primary key. A logical primary key can be a composite key, which is composed of one or more logical columns. Oracle advises against specifying logical keys for logical fact tables.
- On the Home page, click Navigator and then click Semantic Models.
- In the Semantic Models page, click a semantic model to open it.
- Click Logical Layer and locate and double-click the logical table that you want to add a primary key to.
- In the logical table, click the General tab.
- Click the Primary Key field and select the column that you want to use as the table's primary key.
- Optional: If the primary key is a composite key, then click the Primary Key field and select another column.
- Click Save.