Refactoring SQL Code
Refactoring code is a common task in many software development teams. Steve asks if this is something common for database developers as well.
2025-12-12
298 reads
Refactoring code is a common task in many software development teams. Steve asks if this is something common for database developers as well.
2025-12-12
298 reads
Getting something done is important, but so is the quality level. Steve has a few thoughts today.
2025-11-26
100 reads
Adopting a modern development approach brings with it the need to manage PRs, which Steve thinks can be like trouble tickets.
2025-10-01
120 reads
Steve found someone using an interesting approach to get developers to address some technical debt.
2025-09-08
156 reads
Technical debt is something all of us deal with in our systems, and today Steve has a few thoughts on the impact of debt on database sysstems.
2025-06-25
171 reads
If you have had to fix the thing you just fixed with a fix, you might enjoy today's editorial.
2025-06-16
109 reads
Steve looks back at the Mythical Man Month, a book every software engineer and manager should read.
2025-06-06
107 reads
Today Steve is wondering how you approach coordinating application and database changes. Share which one you deploy first.
2025-04-16
184 reads
Feature flags are being used in modern software development. Steve thinks these should also be a staple of database changes.
2025-04-07
531 reads
Should we build modern software as monoliths or microservices? Or something else? Steve has a few thoughts today.
2025-03-24
140 reads
By Steve Jones
This month we have a new host, Meagan Longoria, who graciously agreed to help...
By Steve Jones
I’m at the UK Redgate office today, meeting with senior leaders in all areas...
Optimizing Azure SQL Database performance often begins with identifying the most resource-intensive queries. Understanding...
Comments posted to this topic are about the item Creating a JSON Document IV
By VishnuGupthanSQLPowershellDBA
Comments posted to this topic are about the item Restoring Azure Key Vault Keys...
When the schema of an object is changed, SQL Server wipes out the previous...
I have this data in a table called dbo.NFLTeams
TeamID TeamName City YearEstablished ------ -------- ---- --------------- 1 Cowboys Dallas 1960 2 Eagles Philadelphia 1933 3 Packers Green Bay 1919 4 Chiefs Kansas City 1960 5 49ers San Francisco 1946 6 Broncos Denver 1960 7 Seahawks Seattle 1976 8 Patriots New England 1960If I run this code, how many rows are returned?
SELECT YearEstablished, json_objectagg(city : TeamName) FROM dbo.NFLTeams GROUP BY YearEstablished;See possible answers