exam questions

Exam 70-464 All Questions

View all questions & answers for the 70-464 exam

Exam 70-464 topic 3 question 6 discussion

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

You need to add a new column named Confirmed to the Attendees table.
The solution must meet the following requirements:
✑ Have a default value of false.
✑ Minimize the amount of disk space used.
Which code block should you use?

  • A. ALTER TABLE Attendees ADD Confirmed bit DEFAULT 0;
  • B. ALTER TABLE Attendees ADD Confirmed char(l) DEFAULT '1';
  • C. ALTER TABLE Attendees ADD Confirmed bit DEFAULT 1;
  • D. ALTER TABLE Attendees ADD Confirmed char(l) DEFAULT `1';
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
http://msdn.microsoft.com/en-us/library/ms177603.aspx

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
Zikato
4 years, 4 months ago
To be fair, a single bit column in a table takes as much space as a char(1) column.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago