Which CREATE TABLE statement should you use?

You are creating an application that will be used by several divisions of your company to record customer survey information. Divisions of the company are located in different time zones throughout the world. In the SurveyDate column of the Survey table, you want to store the date and time each survey was completed, including time zone information.
You also want to record the amount of time each respondent took to complete the survey in the ElapsedTime column in hh:mm:ss format.
Which CREATE TABLE statement should you use?
A. CREATE TABLE Survey (
SurveyID int PRIMARY KEY,SurveyDate datetimeoffset,ElapsedTime time);
B. CREATE TABLE Survey (
SurveyID int PRIMARY KEY,SurveyDate datetime2,ElapsedTime time);
C. CREATE TABLE Survey (
SurveyID int PRIMARY KEY,SurveyDate datetimeoffset,ElapsedTime time(4));
D. CREATE TABLE Survey (
SurveyID int PRIMARY KEY,SurveyDate datetime2,ElapsedTime time(4));

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.