Primary Key

A Primary Key is the field that uniquely identifies each data row within a schema.

Before establishing relationships between Schemas in a Data Model, users must clearly define the Primary Key for each Schema. This ensures the system knows how to connect and compare data accurately. Choosing an incorrect Primary Key can severely affect data analysis quality, leading to inaccurate results in reports and charts.

Primary Key Features:

  • Unique: No two records (rows) in the table can share the same Primary Key value.

  • Not NULL: A Primary Key cannot contain NULL values, as every record (row) must have a unique identifier.

  • Only One Primary Key: Each table can have only one Primary Key.

Steps to Set Up a Primary Key:

1

Select Data Model

Log in to FPT Data Suite, select your Workspace, then navigate to Data Model. Choose the Data Model you want to configure.

2

Set Primary Key

Locate the specific Schema you wish to modify, click Action, then select Set Primary Key.

3

Select Field and Save

Choose the field you want to designate as the Primary Key and save your changes.

Last updated

Was this helpful?