无法对视图 "%2" 创建聚集索引 "%1",因为该视图引用了未知值(可为空的表达式的 SUM 聚合)。请考虑在 SUM 中仅引用不可为空的值。可以使用 ISNULL()。
Click to search this error in Google
English version
Cannot create the clustered index "%1" on view "%2" because the view references an unknown value (SUM aggregate of nullable expression). Consider referencing only non-nullable values in SUM. ISNULL() may be useful for this.