1.

When to choose scalar function over inline table valued function?(a) You want a single value as the result(b) One or more row’s worth of data is expected(c) You want multiple values asresult(d) All of the mentionedThe question was posed to me in my homework.I would like to ask this question from User Defined Functions topic in division Developing with SQL Server of SQL Server

Answer» CORRECT choice is (a) You want a single VALUE as the RESULT

To EXPLAIN I would say: For an inline scalar function, there is no function body; the scalar value is the result of a single STATEMENT.


Discussion

No Comment Found

Related InterviewSolutions