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
2
Last updated
Was this helpful?