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

Every Database Has Problems

Every database platform has some strengths and weaknesses. Some more than others. I caught this site (NSFW) from Erik Darling, and it made my day. I was having a tough one when this site got me to smile and chuckle out loud a few times. I especially like the MySQL and SQL Lite links (again NSFW).

Every platform that you might choose to use to back an application can work in many situations. Certainly scale and load are factors to consider, but for the major relational database platform, most will work fine for many applications. Some might work better than others, but there are always tradeoffs. There are pros and cons. This is also true for the major NoSQL platforms, though most of my experience is with relational ones, so I tend to lean in that direction.

At the same time, any platform can fail horribly.

What's the difference? Quality database design and software engineering. If you have a knowledgeable staff that works with the platform, they can likely make it work well. If they don't both to consider the database impact in their design, or aren't skilled with that platform, they can easily make it seem like the database doesn't work well at all.

Quality of code matters, as many data professionals know. We often aren't given enough time to do the job right, but we know that's the case. It doesn't do any good to complain or bemoan the fact that there is never enough time to fix things or improve them.

We need to write better code to start with, which means learning to write better code. Understand what impacts performance, where you can change your patterns and habits. Watch Erik's posts, learn from Jeff how to build test data sets to stress your queries if you don't have large data sets. Learn to do a better job in the same amount of time.

Changing platforms won't magically fix things, no matter what your CTO/director/manager thinks. Especially if your team doesn't already have experience on the new platform.

 

 

Steve Jones - SSC Editor

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

 
 Featured Contents
Stairway TDE

Backing Up Azure Key Vault EKM Key: Stairway to TDE Level 6

VishnuGupthanSQLPowershellDBA from SQLServerCentral

In this level we learn how to ensure our keys are backed up to the Azure Key Vault for safekeeping.

External Article

Find SQL Server Agent Jobs that Start Other Jobs

Additional Articles from MSSQLTips.com

A SQL Server Agent job can start other jobs. Writing jobs this way makes it easy to compartmentalize jobs: start a “child” job only when the “parent” reaches a certain step. Finding these steps can be challenging. There is no field or property in sysjobs or its associated tables to help find child jobs.

Blog Post

From the SQL Server Central Blogs - Beyond VARBINARY: How to Store PDFs in SQL Server Using FILESTREAM and FileTable

gbargsley from GarryBargsley

Hello, dear blog reader. Today’s post is coming to you straight from the home office, ready to talk about a topic that comes up more than you’d think: storing...

Blog Post

From the SQL Server Central Blogs - Introducing the SQL Server on Kubernetes Operator

aen from Anthony Nocentino Blog

Are you considering replatforming your SQL Server workload due to recent vendor changes, but still need high availability and disaster recovery? You’re not alone. One of the challenges with...

 

 Question of the Day

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

 

Creating a JSON Document II

I want to create a JSON document that contains data from this table:
TeamID TeamNameCity         YearEstablished
1      Cowboys  Dallas       1960
2      Eagles   Philadelphia 1933
3      Packers  Green Bay    1919
4      Chiefs   Kansas City  1960
If I run this code, what document(s) is/are returned?
SELECT json_objectagg( n.city : n.TeamName)
FROM dbo.NFLTeams;

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)

The Vector Data Type

What is the vector data type in SQL Server?

Answer: This is a type that stores dimensions of numbers exposed as JSON arrays

Explanation: Vectors are arrays of numbers stored in a binary format, but exposed as JSON arrays. They are used in similarity search and AI. These were added in SQL Server 2025. Ref: Vector Data Type - https://learn.microsoft.com/en-us/sql/t-sql/data-types/vector-data-type?view=sql-server-ver17&tabs=csharp

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.


Editorials
Poor Names - Comments posted to this topic are about the item Poor Names
Don't Panic - Comments posted to this topic are about the item Don't Panic
Acting with Confidence - Comments posted to this topic are about the item Acting with Confidence
Barely Reviewed Code - Comments posted to this topic are about the item Barely Reviewed Code
Article Discussions by Author
Removing TDE - Comments posted to this topic are about the item Removing TDE
The day-to-day pressures of a DBA team, and how we can work smarter with automation and AI - Comments posted to this topic are about the item The day-to-day pressures of a DBA team, and how we can work smarter with automation and AI
Creating a Simple and Flexible Random Password Generator in SQL Server - Comments posted to this topic are about the item Creating a Simple and Flexible Random Password Generator in SQL Server
SQL Art, Part 3: Happy Easter Fun in SSMS - Comments posted to this topic are about the item SQL Art, Part 3: Happy Easter Fun in SSMS
Identities and Sequences IV - Comments posted to this topic are about the item Identities and Sequences IV
Using OPENJSON - Comments posted to this topic are about the item Using OPENJSON
Data Modeling with dbt for Visual Code: The Fabric Modern Data Platform - Comments posted to this topic are about the item Data Modeling with dbt for Visual Code: The Fabric Modern Data Platform
Data Modeling with dbt for Visual Code: The Fabric Modern Data Platform - Comments posted to this topic are about the item Data Modeling with dbt for Visual Code: The Fabric Modern Data Platform
SQL Server 2022 - Administration
SQL 2017 to SQL 2025. Good to Go ? - We need to replace our Windows server running SQL 2017. Any reason not to go to SQL 2025 ?  Any "gotchas" migrating databases from SQL 2017 to SQL 2025 ?
SQL Server 2022 - Development
Analysis Services Model w/ Direct Query and (Default Veritpaq) - Analysis Services (either the integrated workspace in Power BI or on a SQL Server) lets you interact with the data via: DirectQuery - runtime request transformed into SQL statements against data source Import Modes - runtime request applied against cached in-memory VertPaq data imported (processed) PowerBI and Azure Analysis Services support "composite" models, where some […]
Daily aggregation of Azure Blob Storage by tier (created/tier-change/deleted) - Hello all, I’m looking for advice on how to derive a daily snapshot table from a large fact table in SQL Server that tracks Azure Blob Storage metadata. In production this table can have tens of millions of rows, and its structure cannot be changed. To make the problem reproducible, I’ve created the simplified version […]
 

 

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

 

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