SQLBits a Smashing Success
SQLBits IV was held in Manchester, England, Saturday March 28th, 2009, and was attended by more than 360 attendees. This...
2009-03-29
2,103 reads
SQLBits IV was held in Manchester, England, Saturday March 28th, 2009, and was attended by more than 360 attendees. This...
2009-03-29
2,103 reads
A great example of how to “Tweet” poorly. This guy got fired before he started work.
Twitter is a series...
2009-03-27
1,762 reads
I’ve had a number of cell phones in my life, probably more than many people. Typically I’ve just grabbed a...
2009-03-26
3,963 reads
My friend Brian writes Databases, Infrastructure, and Security and like me, he writes about an eclectic mix that goes beyond...
2009-03-26
1,447 reads
This afternoon was quite interesting around the office. A strong thunderstorm moved through the area, a common occurrence in Texas...
2009-03-25
1,404 reads
It has happened to us all at one time or another. We are trying to help someone on an online...
2009-03-25
1,560 reads
I manage a lot of replication publications\subscriptions and when I get a latency or agent failure alert it always bugs...
2009-03-25
855 reads
I'm been in tactical mode lately, building an advertising management system for one of our projects. Actually it's v2, the...
2009-03-25
1,609 reads
I'm sure that these routines are available in a variety of locations, this just adds one more place that people...
2009-03-25
39,738 reads
One of the pieces of advice that I give in my talk "The Modern Resume" is that you should review,...
2009-03-25
1,602 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