Which type of object should you create?

You are a database developer on an instance of SQL Server 2008.
You need to provide a custom function that will perform complex calculations on groups of data in one of your tables. You want users to be able to reference the function directly from a query as if they were using a built-in scalar function. Which type of object should you create?
A. a CLR user-defined type
B. a Transact-SQL user-defined function that returns a scalar value
C. a CLR user-defined aggregate
D. a Transact-SQL user-defined stored procedure

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.