You are creating dimensions for a data warehouse in an Azure Synapse Analytics dedicated SQL pool

Posted by: Pdfprep Category: DP-203 Tags: , ,

HOTSPOT

You are creating dimensions for a data warehouse in an Azure Synapse Analytics dedicated SQL pool.

You create a table by using the Transact-SQL statement shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic. NOTE: Each correct selection is worth one point.

Answer:

Explanation:

Box 1: Type 2

A Type 2 SCD supports versioning of dimension members. Often the source system doesn’t store versions, so the data warehouse load process detects and manages changes in a dimension table. In this case, the dimension table must use a surrogate key to provide a unique reference to a version of the dimension member. It also includes columns that define the date range validity of the version (for example, StartDate and EndDate) and possibly a flag column (for example, IsCurrent) to easily filter by current dimension members.

Comment (1)

  • Mark Lobbezoo Reply

    Box 2 should be a surrogate key since it is an identity column.

    January 18, 2022 at 3:07 pm

Leave a Reply

Your email address will not be published.