如何在SQL SERVER中使用非聚集索引创建主键? [英] How can we make a primary key with non clustered index in SQL SERVER ?
本文介绍了如何在SQL SERVER中使用非聚集索引创建主键?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们如何在SQL SERVER中使用非聚集索引创建主键?
How can we make a primary key with non clustered index in SQL SERVER ???
推荐答案
看看示例部分" 此处 [
Have a look at the ''Examples section'' here[^].
Side note: A non-clustered index is automatically created when we define primary keys if an index on the table does not already exist.
^ ]
这篇关于如何在SQL SERVER中使用非聚集索引创建主键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文