You work for MDFT Pro, a well-known training agency that manages student and course data. Mark, a Data Warehouse Developer at MDFT Pro, has created a Fabric warehouse called StudentAnalytics to support reporting and analytics. He creates a dimension table called DimCustomer with three columns: CustomerKey (a unique identifier for each student), Name (student’s full name), and Email (student’s email address). To ensure data integrity and enable proper relationships with fact tables, Mark needs to designate the CustomerKey column as the primary key of the DimCustomer table. In Microsoft Fabric warehouses, primary keys must be created using ALTER TABLE statements after the table is created, and they must use specific syntax requirements including NONCLUSTERED and NOT ENFORCED keywords.
Which three code segments should Mark run in sequence to create the primary key?
Choose all correct answers from the options below.
Explanations for each answer: