Problems displaying this newsletter? View online.
SQL Server Central
Featured Contents
Question of the Day
 
The Voice of the DBA
 

Make It Routine

The first one is hard. The rest are boring.

I heard this statement from someone recently, and it sounds like something a technical person would do. It's been a goal of mine, or maybe a direction to aim for, though I sometimes think that goal is more aspirational than actual. It can be hard to do that for every task.

The first time I tackle something, it should be hard. It's new work. It's a new process/code/thought/action/etc. It's unfamiliar, and I spend more time on it than I want. After that, I'd hope I could repeat the thing again in much less time. That's the goal, and that's what we aim for in a lot of DevOps work. Make the things we think are hard, less hard. Make them boring by codifying things, using automation, and have the computer replicate the task.

I think the second one is often hard as well. How often have you tried to reproduce something you did and can't quite get it? Heck, I now depend (and use) SQL History constantly because I will write some code, change it a bunch and then realize that I can't reproduce the version that did thing thing (or broke the thing) I was working on. I need to rewind things and figure them out again. Usually by the 4th time I've done something, it's starting to become easier. By the 10th its boring.

Unless I'm playing guitar, in which case, some things take a few more reps than 10.

I've had plenty of developers say never repeat yourself. If you can automate it, you should. In practice, that's hard. Sometimes I'm unsure of whether I'll do something again, or often enough to spend the time automating it. There are also times I'm not sure it's worth the effort. I spent a day once trying to automate a bunch of Outlook appointments, only to realize the whole Office API and deluge of information out there made this much harder than the 15 minutes a year I spend putting in all my Database Weekly reminders.

I don't want to discourage you from automating things and making them routine or boring. My database deployments ought to be routine. The daily checks should be so boring and automated that I don't bother with them because I know the machine is doing the work and will let me know if there is something I should examine. The efforts to refresh dev dbs, or respond to audit requests, or even reset a password ought to be boring and easy. Some of us build ways to smooth these tasks and ease our jobs, and some of us treat every one as an ad hoc thing that we do over and over.

The stuff you do over and over is going to be handled by AI at some point (maybe soon). Maybe soon, maybe in a few years, but a lot of simple stuff that you keep doing- that mindless, tedious stuff that doesn't require a lot of thought - is going to be handled by AI agents. Either you'll direct them, or your boss will ask someone else to do it after you leave. AI can handle things like figuring out when disks are full and cleaning out old log files, shrinking databases, archiving things, and then writing scripts (and scheduling them) to prevent issues. If that's your job, your days are numbered.

Make things routine by thinking about the pattern, how we could reduce or eliminate a lot of labor, and how we can use a computer to handle them. Even better, learn how to guide an AI to do that work and prove your worth.

Steve Jones - SSC Editor

Join the debate, and respond to today's editorial on the forums

 
 
 Featured Contents
SQLServerCentral Article

CROSS APPLY Fundamentals: Part 1

Imran2629 from SQLServerCentral

Learn the basics of the CROSS APPLY operator with a few examples in this short piece.

External Article

5 T-SQL features that should already exist (2026 SQL Server wish list)

Additional Articles from SimpleTalk

2026 T-SQL wish list covering native Parquet imports, arrays, OVERLAPS, simpler licensing, and cloud storage

Blog Post

From the SQL Server Central Blogs - Using Claude Code as a Database SRE Agent with the Everpure Fusion MCP Server

aen from Anthony Nocentino Blog

Here’s the scenario: one of my SQL Server instances migrated to the DR array. The VM moved, the old volumes were destroyed, and nobody created a Protection Group on...

Blog Post

From the SQL Server Central Blogs - Microsoft Copilot: What Each Copilot Does and Where It Fits

James Serra from James Serra's Blog

It can feel as if Microsoft has put the Copilot name everywhere, and that is not far from the truth. The important thing to understand is that Microsoft Copilot...

Architecting Power BI Solutions in Microsoft Fabric

Steve Jones - SSC Editor from SQLServerCentral

Business Intelligence (BI) tools like Power BI are used by a wide range of professionals, creating diverse and complex scenarios, and finding the right solution can be daunting, especially when multiple approaches exist for a single use case. The author distills his 17 years of experience on various data platform technologies in this book to walk you through various Power BI usage scenarios.

 

 Question of the Day

Today's question (by Steve Jones - SSC Editor):

 

DBCC CHECKDB Limits III

On SQL Server 2025, does DBCC CHECKDB support Memory-Optimized tables?

Think you know the answer? Click here, and find out if you are right.

 

 

 Yesterday's Question of the Day (by Steve Jones - SSC Editor)

Finding a Database Master Key

Where do I check for the existence of a Database Master Key (DMK) in SQL Server 2025?

Answer: sys.symmetric_keys in the user database

Explanation: The way to verify a DMK exists is with sys.symmetric_keys in each database, looking for the name "##MS_DatabaseMasterKey##". There is a is_master_key_encrypted_by_server value in the sys.databases view in the master database, but this is only checked if they SMK encrypts the DMK, which is not required. Ref: sys.symmetric_keys - https://learn.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-symmetric-keys-transact-sql?view=sql-server-ver17

Discuss this question and answer on the forums

 

 

 

Database Pros Who Need Your Help

Here's a few of the new posts today on the forums. To see more, visit the forums.


SQL Server 2019 - Development
whats that ssis analyzer product that documents lineage - hi, a few years ago was at a very large company that bought a software product that documents lineage i think in much the same way a dictionary would but automatically.   does anybody know what (if any) products on the market do that kind of thing and which is/are the best?
General
PowerBI Question - Data Sources - I don't see a PowerBI forum, so I'm posting here. I have a need to create a report using one query but multiple SQL Servers. I'm wondering if I could create a CMS registered group and somehow pass the query to all servers in the group at the same time and pull back the results […]
Editorials
The SQL Server 2016 Plan - Comments posted to this topic are about the item The SQL Server 2016 Plan
The Mythical Bus Accident - Comments posted to this topic are about the item The Mythical Bus Accident
A Security and AI Fail - Comments posted to this topic are about the item A Security and AI Fail
Article Discussions by Author
SQL Server Certificates - Comments posted to this topic are about the item SQL Server Certificates
Connect an Azure Function to Azure SQL database Using a Managed Identity - Comments posted to this topic are about the item Connect an Azure Function to Azure SQL database Using a Managed Identity
Implicit Conversions Cripple SQL Server - Comments posted to this topic are about the item Implicit Conversions Cripple SQL Server
BIT_COUNT() III - Comments posted to this topic are about the item BIT_COUNT() III
How Clustering can be Used as a Preprocessing Technique for Classification in Azure Machine Learning - Comments posted to this topic are about the item How Clustering can be Used as a Preprocessing Technique for Classification in Azure Machine Learning
Moving the Error Log - Comments posted to this topic are about the item Moving the Error Log
SQL Server 2022 - Administration
ALAMAT BCA KCU PURI INDAH Telp 08218200174 - Via WhatsApp+62 821-8200-174 Gedung C3 Lt. 1-3 Komplek, Jl. Puri Indah Raya No.1-3 Blk 02, RT.3/RW.2, Kembangan Sel., Kec. Kembangan, Kota Jakarta Barat, Daerah Khusus Ibukota Jakarta 11610
SQL 2025 SSMS Nonsense - Yeah, I know this is a 2022 forum, but I don't see a 2025 forum at the moment. I downloaded 2025 Developer Standard edition and 2025 SSMS. I right click my database to import an excel sheet and "Import Data" is greyed out. Did my Google-Fu and found out that SSIS needs to be installed […]
Do we have a forum for SQL Server 2025? - Not seeing a 2025 forum, it looks to me the site will not going to continue? Thanks,
Developer edition cannot be connected from other computers - I installed a new SQL server 2025 Enterprise developer edition for our development environment. this is our first 2025 instance. I can connect to the server and database using a SSMS installed locally on the server, but cannot connect to it use my laptop in same network. I enabled the TCP/IP protocol in the SQL […]
 

 

RSS FeedTwitter

This email has been sent to {email}. To be removed from this list, please click here. If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com. This newsletter was sent to you because you signed up at SQLServerCentral.com.
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
webmaster@sqlservercentral.com

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -