以下三种索引建法各自的意思和有什么好处? 除这三种索引建法还有哪种建法?
第一种:
create index Index_1 on BrandType (
Brand ASC,
Type ASC
)
go
第二种:
create unique index Index_1 on BrandType (
Brand ASC,
Type ASC
)
go
第三种:
create clustered index Index_1 on BrandType (
Brand ASC,
Type ASC
)
go
第一种:为非聚集索引
create index Index_1 on BrandType (
Brand ASC,
Type ASC
)
go
第二种:为唯一索引
create unique index Index_1 on BrandType (
Brand ASC,
Type ASC
)
go
第三种:为聚集索引
create clustered index Index_1 on BrandType (
Brand ASC,
Type ASC
)
go