Which SCD type uses a separate history table and a surrogate key to map to original and historic data?

Prepare for the DP-600 Fabric Analytics Engineer Exam. Study with flashcards and multiple choice questions, each offering hints and detailed explanations. Enhance your chances of success on the exam!

Multiple Choice

Which SCD type uses a separate history table and a surrogate key to map to original and historic data?

Explanation:
Type 4 uses a separate history table and a surrogate key to link current and historic data. In this approach, the main dimension table holds the current values for each business key, identified by a stable surrogate key. All prior versions of that record are stored in a separate history table, which also uses the same surrogate key to tie back to the current row. The history table may include timestamps or version indicators to show when each past version was valid. When a change occurs, the new values go to the current table, and the old values are written to the history table with the corresponding surrogate key. This separation keeps the current view clean in the main table while preserving a complete history that can be queried via the surrogate key linkage.

Type 4 uses a separate history table and a surrogate key to link current and historic data. In this approach, the main dimension table holds the current values for each business key, identified by a stable surrogate key. All prior versions of that record are stored in a separate history table, which also uses the same surrogate key to tie back to the current row. The history table may include timestamps or version indicators to show when each past version was valid. When a change occurs, the new values go to the current table, and the old values are written to the history table with the corresponding surrogate key. This separation keeps the current view clean in the main table while preserving a complete history that can be queried via the surrogate key linkage.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy