﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / T-SQL (SS2K5)  / Disabling index by using select query / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 18 May 2013 20:26:17 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Disabling index by using select query</title><link>http://www.sqlservercentral.com/Forums/Topic981481-338-1.aspx</link><description>if the query has a WHERE statement, you could make the arguments non-SARG-able, and force it to use a table scan, but it would still use an index(probably the clustered index) to gather the data;if you want to avoid a specific index you can use a hint to tell it a specific index to use instead.</description><pubDate>Tue, 07 Sep 2010 16:18:50 GMT</pubDate><dc:creator>Lowell</dc:creator></item><item><title>RE: Disabling index by using select query</title><link>http://www.sqlservercentral.com/Forums/Topic981481-338-1.aspx</link><description>There's not any hint to disable / ignore an index just for a given SELECT statement (you could force it to use a different index, but even that might not prevent use of the other index also).</description><pubDate>Tue, 07 Sep 2010 15:37:02 GMT</pubDate><dc:creator>scott.pletcher</dc:creator></item><item><title>RE: Disabling index by using select query</title><link>http://www.sqlservercentral.com/Forums/Topic981481-338-1.aspx</link><description>You can use ALTER INDEX for a nonclustered index to disable it. If you do this for a clustered index, it makes the data inaccessible.[code="sql"]ALTER INDEX myIndexName ON myTable DISABLE[/code]</description><pubDate>Tue, 07 Sep 2010 06:27:41 GMT</pubDate><dc:creator>Grant Fritchey</dc:creator></item><item><title>Disabling index by using select query</title><link>http://www.sqlservercentral.com/Forums/Topic981481-338-1.aspx</link><description>Hi all,Is there any way to disable an index by using select query.Thankq</description><pubDate>Tue, 07 Sep 2010 05:53:53 GMT</pubDate><dc:creator>DBA_1276</dc:creator></item></channel></rss>