PrepAway - Latest Free Exam Questions & Answers

Which object should you use?

You develop a Microsoft SQL Server 2012 database.
You need to create a batch process that meets the following requirements:
Returns a result set based on supplied parameters.
Enables the returned result set to perform a join with a table.

Which object should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Inline user-defined function

B.
Stored procedure

C.
Table-valued user-defined function

D.
Scalar user-defined function

7 Comments on “Which object should you use?

  1. Yommy O. says:

    Returns a result set based on supplied parameters: a FUNCTION takes a parameter, and returns a result set.
    Enables the returned result set to perform a join with a table: a TABLE-VALUED FUNCTION returns its result as a table.
    Correct Option: Table-valued user-defined function.




    0



    0

Leave a Reply