exam questions

Exam 98-364 All Questions

View all questions & answers for the 98-364 exam

Exam 98-364 topic 1 question 49 discussion

Actual exam question from Microsoft's 98-364
Question #: 49
Topic #: 1
[All 98-364 Questions]

One difference between a function and a stored procedure is that a function:

  • A. Must be called from a trigger.
  • B. Must return a value.
  • C. Cannot contain a transaction.
  • D. Cannot accept parameters.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
mikebui
3 years ago
Example of built-in functions https://www.sqlshack.com/use-sql-server-built-functions-create-user-defined-scalar-functions/#:~:text=A%20function%20is%20a%20set,can%20simply%20call%20that%20function.
upvoted 1 times
...
dzoni68
3 years ago
The function must return a value but in Stored Procedure it is optional. Functions can have only input parameters, whereas Procedures can have input or output parameters. Functions can be called from Procedure whereas Procedures cannot be called from a Function.
upvoted 2 times
...
Ikenna_125
5 years, 4 months ago
Must return a value B
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 ...