What is the purpose of surrogate keys in fact tables?

  • To establish foreign key relationships
  • To improve query performance
  • To provide a stable and unique identifier for each row in the fact table
  • To replace natural keys in dimension tables
The purpose of surrogate keys in fact tables is to provide a stable and unique identifier for each row. Surrogate keys are often integers generated by the system and do not have any business meaning. They ensure data integrity and make it easier to manage relationships between tables.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *