Which row would be successfully inserted into the TestDetails table?

You are a database developer on an instance of SQL Server 2008. You created the TestDetails table using the following CREATE TABLE statement:
CREATE TABLE TestDetails (
TestID int IDENTITY(1,1) PRIMARY KEY,
TestName nvarchar(10) NULL UNIQUE,
TestType char(1) CHECK (TestType = ‘A’ OR TestType = ‘B’),
TestAuthorID int SPARSE);
With default settings, which row would be successfully inserted into the TestDetails table?
A. a row that has an explicit value for the TestID
B. a row that has a NULL value for TestID
C. a row that has a non-NULL value for TestAuthorID
D. a row that has a value of ‘C’ for TestType

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.