是否可以在 SQL Server 2008 中为 View 设置主键?
最佳答案
您可以在 SQL Server View 上创建聚集索引 - 它称为索引 View 。
参见Improving Performance with SQL Server 2008 Indexed Views了解详情。
关于sql - 是否可以为 View 设置主键?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3062664/