首先,看查询语句 

select * from dbo.Customers with(index=IX_Customers_CustomerName)

 where customername like'电%'

指定索引名称:with(index=IX_Customers_CustomerName)

建议实际使用的时候,不要指定索引名称,因为数据库的引擎会自动优化,挑选执行效率较高的索引

 

 关于上一篇提到的填充因子,默认是80(1-100) 

 

 

相关文章:

  • 2021-04-11
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-18
  • 2021-12-04
  • 2021-08-16
  • 2021-12-14
  • 2022-12-23
相关资源
相似解决方案