Visual Studio Database Project MATERIALIZED VIEW Error SQL71640: COUNT_BIG(a) is required when using this tool to create a materialized view

Coby Lin 0 Reputation points
2023-05-10T08:48:07.89+00:00

I have COUNT_BIG(**) in the script and I got the "SQL71640: COUNT_BIG(a) is required" error.*

Am I missing something here?

[enter image description here

](https://i.stack.imgur.com/oeAob.png)

SQL71640: COUNT_BIG(a) is required when using this tool to create a materialized view that has SUM(a) in the SELECT list.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,148 questions
{count} votes