Which action should you take?

You are a database administrator on an instance of SQL Server 2008. You are creating the TrxHistory table in the Sales database. You want to create a surrogate key for the table that will store a globally-unique identifier (GUID).
Users at your branch offices will insert many rows into the table, and users in the accounting department at your corporate office will frequently run queries against the table. You want to minimize the size and fragmentation for the clustered primary index on the TrxHistory table.
Which action should you take?
A. Define the surrogate key as an int and include the IDENTITY property.
B. Define the surrogate key as a uniqueidentifier and use the NEWID function in the column’s DEFAULT definition.
C. Define the surrogate key as a uniqueidentifier and use the NEWSEQUENTIALID function in the column’s DEFAULT definition.
D. Define the surrogate key column as a uniqueidentifier and include the ROWGUIDCOL property.

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.