August 19, 2026 at 12:00 am
Comments posted to this topic are about the item Rebuilding All Indexes
August 19, 2026 at 7:13 am
ALTER INDEX ALL ON dbo.CustomerContact
will return an error, because it misses REBUILD or REORGANIZE. It should be
ALTER INDEX ALL ON dbo.CustomerContact REBUILD
August 19, 2026 at 12:43 pm
Shouldn't the last command in the CREATE INDEX commands have been
CREATE INDEX IX_CustomerContact_CustomerPhone
ON dbo.CustomerContact (phone);
August 19, 2026 at 3:01 pm
<code class="lang-tsql hljs">ALTER INDEX ALL ON dbo.CustomerContactwill return an error, because it misses REBUILD or REORGANIZE. It should be
<code class="lang-tsql hljs">ALTER INDEX ALL ON dbo.CustomerContact REBUILD
Yay! Someone else caught the flaw!
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2026 at 3:15 pm
apologies for the typos. Kept going back and forth between the query and the editing of the question.
Typos fixed, points awarded back
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply