SQL 索引创建

CREATE UNIQUE CLUSTERED INDEX IX_F_Log ON F_Log(userId,customerId,shopId)--唯一 聚集索引
CREATE    NONCLUSTERED INDEX IX_F_Log ON F_Log(userId,customerId,shopId)--不唯一 非聚集索引
CREATE   UNIQUE NONCLUSTERED INDEX IX_F_Log ON F_Log(userId,customerId,shopId)--唯一 非聚集索引

 

posted @ 2018-12-14 13:20  蜜雪粮液  阅读(193)  评论(0编辑  收藏  举报