Spare Yourself Installation Issues by Downloading the Latest SQL 2008 ISO Image
Recently, we began the install of a new instance on a VMware Host and ran into an issue with a problematic outdated...
2009-08-24
965 reads
Recently, we began the install of a new instance on a VMware Host and ran into an issue with a problematic outdated...
2009-08-24
965 reads
I'm committed to SQLSaturday #23 in Louisville on October 24, 2009. I got a note the other day from the...
2009-08-24
735 reads
There have been a couple odd types of corruption that I’ve been seeing on the forums. I want to take...
2009-08-24
361 reads
I'm reading through Brad McGehee'sHow to Be an Exceptional DBAand in chapter 4 he talks about having the right skill...
2009-08-24
2,426 reads
Louis Davidson (@DrSql) had an excellent series on his blog on the Pillars of Database Design and the one of...
2009-08-24
436 reads
Well, perhaps not a whole new identity, just a consolidation of multiple facets of my online persona. For several years...
2009-08-23
538 reads
Well, I had a pretty good week this week. I made an effort and met all my goals:
Eat smaller portions...
2009-08-23
357 reads
I found something interesting the other day. I was attempting to optimize a very heavy string parsing routine using T-SQL...
2009-08-23
8,673 reads
It’s been a busy few weeks since update #12. We announced guidelines for submitting content to sqlpass.org, an effort that...
2009-08-23
738 reads
As I was going through some of my documentation at past clients, I found my summary of the general SOX...
2009-08-23
2,462 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...
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