exam questions

Exam 70-464 All Questions

View all questions & answers for the 70-464 exam

Exam 70-464 topic 1 question 65 discussion

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

You need to encapsulate a T-SQL script into a reusable user-defined object.
The object must meet the following requirements:
✑ Permit insertions into a table variable.
✑ Support structured exception handling.
✑ Prevent changes to the definition of referenced objects.
✑ Support the use of the APPLY operator on the output of the object.
Which type of object should you use?

  • A. An inline table-valued function
  • B. A stored procedure
  • C. A scalar user-defined function
  • D. A multi-statement table-valued function
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Williamzhou
4 years, 8 months ago
D is correct, as insertion permission is required.
upvoted 3 times
...
Luzix
4 years, 9 months ago
A scalar used-defined function doesn´t support the use of the APPLY operator on the output of the object. Yo should use a function that returns a table.
upvoted 2 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 ...