What’s new in SQL Server 2017
SQL Server 2017 is considered a major release in the history of the SQL Server life cycle for various reasons....
2018-08-15
1,368 reads
SQL Server 2017 is considered a major release in the history of the SQL Server life cycle for various reasons....
2018-08-15
1,368 reads
It’s a time to turn the corner from “DBA” to “DBA specialist”. This in-depth guide explores the importance of database...
2018-07-26
398 reads
In this article, we’ll see the how the backup-and-restore meta-data tables store the information in the MSDB database. How do...
2018-07-25
340 reads
In this article, you’ll see the Q&A about the database restore and recovery internals. To learn a lot about SQL...
2018-07-25
336 reads
Let’s deep dive and review each of the database backup command topics to get a better understanding of what it...
2018-07-25
319 reads
In this 18th article of the series, we’ll discuss the concepts of database backup-and-restore operations with SQL Server 2017 Docker containers...
2018-07-19
892 reads
This article talks about shared volumes and the preferred mechanism for data persistence using the Docker containers. This article covers...
2018-07-16
552 reads
In this article, we will discuss the concepts of database backup-and-restore operations on SQL Server Docker containers. This is certainly...
2018-07-12
402 reads
A SQL Server backup and restore strategy is an essential process to safeguard and protect critical data. The vital role...
2018-07-06
896 reads
The article gives some knowledge about getting started and utilizing Docker containers. The focus is all about understanding Docker and...
2018-07-02
499 reads
By Vinay Thakur
In previous posts, we looked at the SQL Server engine. for us DBAs, the...
By Arun Sirpal
You have used Claude. But which Claude? The Claude app (claude.ai, the desktop and...
By Steve Jones
This month we have a new host, Meagan Longoria, who graciously agreed to help...
I’ve been learning more about the google knowledge panel and it seems like one...
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
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