在MS SQL中使用Like的非聚集索引 [英] Non Clustered Index using Like in MS SQL

查看:79
本文介绍了在MS SQL中使用Like的非聚集索引的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建一个表并在[名称]字段上应用非聚簇索引

如果我在非聚集索引[名称]的查询中使用像
如何运作?

是类似查询使用的非聚集索引吗?

I Create a table and apply Non Clustered index on [Name] field

if i use like in Query on non clustered index [Name]

how it works?

is Like Query used non clustered Index?

推荐答案

我不确定,但它应该可以工作....
i am not sure but it should work....


有一个请看下面的文章.

http://www.sql-server-performance.com/2007/optimizing-indexes-general /
Have a look at below Article.

http://www.sql-server-performance.com/2007/optimizing-indexes-general/


阅读以下有关索引的内容:

http://sqlserverplanet.com/indexes/sql-server-indexes-tutorial/ [ ^ ]

http://www.sql-server-performance.com/2004/index-data-structures / [^ ]
Read the following on indexes :

http://sqlserverplanet.com/indexes/sql-server-indexes-tutorial/[^]

http://www.sql-server-performance.com/2004/index-data-structures/[^]


这篇关于在MS SQL中使用Like的非聚集索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆