SQLRelay: The Final Sprint
The UK SQL community has never had so many events in such a short space of time. Last week there...
2011-10-06
423 reads
The UK SQL community has never had so many events in such a short space of time. Last week there...
2011-10-06
423 reads
First, I want to apologize to the three people that read my blog. Sorry for going dark for such a...
2011-10-06
3,658 reads
It sucks getting older. There are any number of reminders of that fact on a regular basis as I move...
2011-10-06
898 reads
My favorite and most used feature of the SSMS Tools Pack is the query history. This feature has saved me...
2011-10-06
1,145 reads
My favorite and most used feature of the SSMS Tools Pack is the query history. This feature has saved me a lot of time and effort. DBAs where I...
2011-10-06
30 reads
My favorite and most used feature of the SSMS Tools Pack is the query history. This feature has saved me a lot of time and effort. DBAs where I...
2011-10-06
15 reads
I decided to start monitoring the amount of free space in my database files so that I can make sure...
2011-10-05
1,601 reads
I’m working on updating my book, Query Performance Tuning Distilled, so that it reflects the new things available in SQL...
2011-10-05
1,822 reads
I’m running through my mental (and some written) pre-travel checklist, tickets, clothes, a few odds and ends, trying to be...
2011-10-05
631 reads
After last year's PASS Summit I put my money where my mouth was and said I will do something this...
2011-10-05
1,250 reads
By Steve Jones
I recently started playing with the MCP Server for SQL Server, which is a...
If you spend your days tuning queries, managing pipelines, or keeping a production database...
I’ve been rebuilding my three-site SQL Server demo lab, and I ran into something...
Has anyone written a wrapper function (or similar) around STRING_AGG() to allow the retrieval...
Putting this here as we're currently on SQL Server 2019 installed on Windows Server...
Comments posted to this topic are about the item Never is Not the Policy
I have added a few indexes to one of my tables in SQL Server 2025:
ALTER TABLE dbo.CustomerContact
ADD CONSTRAINT PK_CustomerContact
PRIMARY KEY (CustomerID);
-- Create index on CustomerEmail
CREATE INDEX IX_CustomerContact_CustomerEmail
ON dbo.CustomerContact (CustomerEmail);
CREATE INDEX IX_CustomerContact_CustomerPhone
ON dbo.CustomerContact (phone);
I then do this to disable one index:
alter index IX_CustomerContact_CustomerPhone on dbo.CustomerContact disableI see this when I check the index status:
I decide to rebuild all indexes with this command:
ALTER INDEX ALL ON dbo.CustomerContact rebuildAfter I do this, what will I see for the index status? See possible answers