尝试在事实表上创建列存储索引时出现此错误:
Msg 35315, Level 16, State 1, Line 1
CREATE INDEX statement failed because a columnstore index cannot be created in this edition of SQL Server. See Books Online for more details on feature support in different SQL Server editions.
这是来自选择@@VERSION
Microsoft SQL Server 2012 (SP1) - 11.0.3381.0 (X64)
Aug 23 2013 20:08:13
Copyright (c) Microsoft Corporation
Standard Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
最佳答案
SQL Server 标准版不支持列存储索引。来自 version comparison对于 SQL Server 2012,您需要企业版。
虽然此处指定了 SQL Server 2012,但值得注意的是,带有 Service Pack 1 的 SQL Server 2016 现在允许跨所有版本创建列存储索引。请参阅here了解更多详情。
关于sql-server - 无法在 SQL Server 2012 上创建列存储索引,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31319935/