exam questions

Exam 70-464 All Questions

View all questions & answers for the 70-464 exam

Exam 70-464 topic 4 question 9 discussion

Actual exam question from Microsoft's 70-464
Question #: 9
Topic #: 4
[All 70-464 Questions]

You need to add a new column named Confirmed to the Employees table.
The Confirmed column has the following requirements:
✑ It must have a default value of TRUE.
✑ It must minimize the amount of disk space used.
Which Transact-SQL statement should you run?

  • A. ALTER TABLE Employees ADD Confirmed but DEFAULT 0;
  • B. ALTER TABLE Employees ADD Confirmed but DEFAULT 1;
  • C. ALTER TABLE Employees ADD Confirmed nchar(1) DEFAULT '1';
  • D. ALTER TABLE Employees ADD Confirmed nchar(1) DEFAULT '0';
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Topic 4, Scenario 4

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Dolous
4 years, 5 months ago
I believe but is bit. "1" is not the same as true and nchar takes more place. Correct answer B
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...