You have a Microsoft SQL Azure database named DBAzure1.
You create a table in DBAzure1 by using the following script:
You need to recommend a solution to ensure that each combination of CustomerContact
and CustomerDetails is not duplicated.
What should you recommend creating?
A.
A CHECK constraint
B.
A filtered index
C.
A columnstore index
D.
A UNIQUE constraint
ALTER TABLE dbo.Customers
ADD CONSTRAINT UC_Customer UNIQUE (CustomerContact, CustomerDetails);