无法对视图 "%2" 创建 %1,因为其中包含 DISTINCT 关键字。请考虑将 DISTINCT 从视图中删除或不对视图进行索引。另外,还可以考虑将 DISTINCT 替换为 GROUP BY 或 COUNT_BIG(*),以在对列分组时模拟 DISTINCT。
Click to search this error in Google
English version
Cannot create %1 on view "%2" because it contains the DISTINCT keyword. Consider removing DISTINCT from the view or not indexing the view. Alternatively, consider replacing DISTINCT with GROUP BY or COUNT_BIG(*) to simulate DISTINCT on grouping columns.