TSQL Tuesday #150 – My first technical job
It’s that time of the month again, the blog party, woohoo! This time Kenneth Fisher (b | t) has invited us to blog about our first tech job. Oh...
2022-05-30 (first published: 2022-05-10)
191 reads
It’s that time of the month again, the blog party, woohoo! This time Kenneth Fisher (b | t) has invited us to blog about our first tech job. Oh...
2022-05-30 (first published: 2022-05-10)
191 reads
Recently I spent months of my lift working on STIG and CIS compliance at my job and one of those tasks was setting up SQL Audit for STIG. Now,...
2022-04-29 (first published: 2022-04-18)
3,002 reads
Well back at the end of 2019 I finished writing most of the checks related to the CIS Center for Internet Security requirements. I have yet to write a...
2022-02-02 (first published: 2022-01-21)
2,475 reads
Let’s make 2021 a year where we protect our mental health. Looking back at 2020 no one could predict a global pandemic and the chaos that it would cause...
2021-01-01
11 reads
Let’s make 2021 a year where we protect our mental health. Looking back at 2020 no one could predict a global pandemic and the chaos that it would cause...
2021-01-01
9 reads
Let’s make 2021 a year where we protect our mental health. Looking back at 2020 no one could predict a global pandemic and the chaos that it would cause...
2021-01-01
34 reads
Let’s make 2021 a year where we protect our mental health. Looking back at 2020 no one could predict a global pandemic and the chaos that it would cause...
2021-01-01
7 reads
Let’s make 2021 a year where we protect our mental health. Looking back at 2020 no one could predict a global pandemic and the chaos that it would cause...
2021-01-01
22 reads
Let’s make 2021 a year where we protect our mental health. Looking back at 2020 no one could predict a global pandemic and the chaos that it would cause...
2021-01-01
7 reads
Let’s make 2021 a year where we protect our mental health. Looking back at 2020 no one could predict a global pandemic and the chaos that it would cause...
2021-01-01
12 reads
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...
By SQLPals
SQL Server gMSA: Why DBAs Still Aren't Using It in 2026 ...
Comments posted to this topic are about the item Never is Not the Policy
Comments posted to this topic are about the item Automating SSAS Multidimensional Security Audits...
Comments posted to this topic are about the item Rebuilding All Indexes
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_CustomerEmail
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.CustomerContactAfter I do this, what will I see for the index status? See possible answers