I had an interview earlier this week. An interview for a SQL developer position. It went fine. But. Question number X...
This article describes a real-world example of performance tuning index maintenance for a large table of approximately 1 billion rows.
Continuing the short series on extended properties, this article explains how to turbocharge the creation of extended properties
Today we have a guest editorial from Andy Warren that talks about the problems we sometimes run into when we must work with other people and make decisions. Sometimes getting the information from people, or giving it to them, is not as simple as we would like.
With a large-scale development of a database application, the task of supporting a large number of development and test databases, keeping them up to date with different builds can soon become ridiculously complex and costly. Grant Fritchey demonstrates a novel solution that can reduce the storage requirements enormously, and allow individual developers to work on thir own version, using a full set of data.
Things Go South
Recently I was troubleshooting a piece of software that archives data out of a very active import table....
In this article Brian Davey present a solution for changing the text in multiple stored procedures using T-SQL.
Longtime author Brian Kelley brings us a new article on security and Kerberos authentication in SQL Server.
Today we have a guest editorial from Stanley Popovich that talks about dealing with stress at work.
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...
I’m currently researching the best wireless credit card terminal for a growing business and...
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...
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