我对带有 FILESTREAM 的表上的 ROWGUID 列的要求感到困惑。这个专栏将如何使用?
如果我在同一个表上使用不同的主键(聚集),同时让该 ROWGUID 列“就在那里”而没有聚集索引,是否可以?
像这样:
CREATE TABLE Sample
{
-- This is going to be clustered
[Id] int NOT NULL,
-- What shall I do with it index-wise?
[RowGuid] uniqueidentifier ROWGUIDCOL NOT NULL UNIQUE
}
Run Code Online (Sandbox Code Playgroud)