Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Rebuild Heap (Remove Clustered Index)

$
0
0

We have a number of heaps that have high fragmentation.  We are on MS SQL SERVER 2005.

I've been told that the ALTER INDEX is only available for 2008+, therefore we need to add a clustered index and then drop it.

I've also been told that dropping the clustered index afterwards is a bad idea (Fixing heap fragmentation).

Should I drop the index afterwards?

Thanks.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>