The Numbers Don’t Lie… Except When They Do
There are few things more reassuring for a data professional than having clean, consistent data to back up critical business...
2009-12-08
624 reads
There are few things more reassuring for a data professional than having clean, consistent data to back up critical business...
2009-12-08
624 reads
Starting Wednesday, December 9, 2009, I am on vacation until Monday, January 4th, 2010. Instead of traveling somewhere else for...
2009-12-08
401 reads
T-SQL Tuesday was started by Adam Machanic (@AdamMachanic) on his blog to encourage SQL Bloggers to share their tips and...
2009-12-08
463 reads
I’m going to try out Adam Machanic’s idea for a blog party. The topic this month are Date/Time tricks.
Instead of...
2009-12-08
665 reads
Hey there gang. I, like many of you, am very excited about the new betas for the 2010 product stack...
2009-12-07
341 reads
Hey there gang. I, like many of you, am very excited about the new betas for the 2010 product stack...
2009-12-07
463 reads
As you know if you follow this blog, Pearl Knows is the creator of the monitoring software SQLCentric, and offers...
2009-12-07
590 reads
I recently attended Code Camp in Tampa and I want to thank everyone who made a SQL guy feel so...
2009-12-07
316 reads
I recently attended Code Camp in Tampa and I want to thank everyone who made a SQL guy feel so...
2009-12-07
327 reads
When working with Analysis Services, you will often run into the same warnings over and over as you are developing....
2009-12-07
485 reads
By SQLPals
Track SQL Server Configuration Changes Using the Error Log If you...
Good documentation gets you started. Good books get you deep. After years of working...
By Vinay Thakur
In previous posts, we looked at the SQL Server engine. for us DBAs, the...
We have a SQL Server installed. We have a 500GB drive for the database....
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