SQL Server ALTER TABLE REBUILD

Hi Friends, I see a common practice with DBAs: If you have to rebuild a HEAP, you will create a clustered index and drop it – this two phase process does the rebuild job, but is expensive. SQL Server supports ALTER TABLE REBUILD command to rebuild a heap. Creating a dropping a clustered index, the [...]