1.

Which of the following is the most visible benefit of user-defined function?(a) Slow performance(b) Bad optimized queries(c) Faster performance(d) All of the mentionedI got this question in an online quiz.Query is from User Defined Functions in division Developing with SQL Server of SQL Server

Answer»

The correct choice is (C) Faster performance

Easiest explanation: T-SQL FUNCTIONS are great at processing data. When it COMES to BUSINESS logic and custom ALGORITHMS, UDFs can do a much better job. UDFs work was akin to stored procedures.



Discussion

No Comment Found

Related InterviewSolutions