T-SQL Tuesday #97 Roundup: Learning goals for 2018
T-SQL Tuesday is a monthly blog party started by respected SQL Guru Adam Machanic. I was honored with hosting this...
2017-12-18
826 reads
T-SQL Tuesday is a monthly blog party started by respected SQL Guru Adam Machanic. I was honored with hosting this...
2017-12-18
826 reads
tl;dr: When using a windows or active directory authenticated id you do not put the username or password into your...
2017-12-18
712 reads
The SQL Server community is just awesome. I can’t say that enough. I may sound like a broken record when...
2017-12-17
380 reads
Shawn Melton MVP and dbatools contributor last week had an issue running SQL Server on Linux inside of Windows Subsystem for Linux.
Error trying to configure #sqlLinux on the openSUSE...
2017-12-16
15 reads
Shawn Melton MVP and dbatools contributor last week had an issue running SQL Server on Linux inside of Windows Subsystem...
2017-12-16
1,008 reads
This blog post is about Team Foundation Server (TFS) and is about the situation where you need remember to update...
2017-12-16
529 reads
Decades ago when I was working as a retail clerk, I had a boss named Billy. Billy was a pragmatic...
2017-12-16
416 reads
Last night, I received Adam Machanic's (b | t) newsletter "Announcing sp_whoisactive v11.20: Live Query Plans". For those who don't know...
2017-12-15 (first published: 2017-12-05)
2,493 reads
I ran across a post from a tester, wondering how to write a query for birthday months. This makes sense,...
2017-12-15 (first published: 2017-12-04)
1,936 reads
Back before I started doing technical presentations or writing blog posts, I frequently found myself in awe at those who...
2017-12-15
604 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