Which of the user defined function will be preferred for adding two numbers ?
A. Scalar
B. Inline table valued
C. Max()
D. Min()
Answer:A
Which of the user defined function will be preferred for adding two numbers ?
A. Scalar B. Inline table valued C. Max() D. Min()
Explanation:We are can create a Scalar UDF AddTwoNumbers which accepts two input parameters @a and @b and returns output as the sum of the two input parameters.