Valid 70-464 Dumps shared by ExamDiscuss.com for Helping Passing 70-464 Exam! ExamDiscuss.com now offer the newest 70-464 exam dumps, the ExamDiscuss.com 70-464 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 70-464 dumps with Test Engine here:
You need to create an indexed view that contains an aggregation. Which function is required in the view definition?
Correct Answer: B
Explanation/Reference: Explanation: COUNT_BIG is a scalar aggregate function. The capability of the query optimizer to take advantage of indexed views when it processes queries has improved over earlier version, such as support for aggregate functions. For example, the following query that contains a scalar aggregate function in its SELECT list: SELECT COUNT_BIG (*) FROM dbo.TableT Can be matched with an index created on this view: CREATE VIEW V2 WITH SCHEMABINDING AS SELECT COUNT_BIG (*) AS Cnt FROM dbo.TableT Note: COUNT_BIG returns the number of items in a group. COUNT_BIG works like the COUNT function. The only difference between the two functions is their return values. COUNT_BIG always returns a bigint data type value. COUNT always returns an int data type value. References: https://technet.microsoft.com/en-us/library/ms187864(v=sql.105).aspx