T-SQL Tuesday #050 – Automation
In my developer life, my motto was ‘Automate all the things’ and since transitioning to a DBA role, my motto...
2014-01-14
627 reads
In my developer life, my motto was ‘Automate all the things’ and since transitioning to a DBA role, my motto...
2014-01-14
627 reads
T-SQL Tuesday is a recurring blog party, that is started by Adam Machanic (Blog | @AdamMachanic). Each month a blog will...
2013-11-12
547 reads
Since my presentation at Orlando SQL Saturday seemed to go well (standing room only, all positive feedback) I submitted to...
2013-11-11
518 reads
As a DBA your job is to protect the data, whether that be from corruption, attack, developers or any other...
2013-11-07
537 reads
So it is done, it being my first presentation at a professional event. As you may recall, I recently presented...
2013-09-18
324 reads
I’ve submitted presentations before to CodeCamp and SQL Saturdays before, but have never been selected to present due to terrible...
2013-07-21
293 reads
Watching my career progression over the last year, an outside observer would think that I’m playing career path hop-scotch, or...
2013-06-15
548 reads
Just recently I was part of an online presentation in which the intended audience was unable to install any of...
2013-04-04
234 reads
One method my company deploys our software is in a dedicated hosted environment. In this situation, we partner with a...
2013-03-28
1,176 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 ...
We have performed a side-by-side upgrade, from SQL Server 2016 to 2022 Developer Edition,...
Comments posted to this topic are about the item Automating OSM Data Refresh in...
Comments posted to this topic are about the item Database Mail Configuration
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