exam questions

Exam 70-464 All Questions

View all questions & answers for the 70-464 exam

Exam 70-464 topic 5 question 2 discussion

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

You execute IndexManagement.sql and you receive the following error message: "Msg 512, Level 16, State 1, Line 12
Subquery returned more than 1 value. This is not permitted when the subquery follows =, != ,<, <= , >, > = or when the subquery is used as an expression."
You need to ensure that IndexManagement.sql executes properly.
Which WHILE statement should you use at line 18?

  • A. WHILE SUM(@RowNumber) < (SELECT @counter FROM @indextable)
  • B. WHILE @counter < (SELECT SUM(RowNumber) FROM @indextable)
  • C. WHILE COUNT(@RowNumber) < (SELECT @counter FROM @indextable)
  • D. WHILE @counter < (SELECT COUNT(RowNumber) FROM @indextable)
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
d_m
4 years, 5 months ago
i have no idea as to why its is 'D'. can someone plz hint whats going on plzzzz?
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 ...