Employee or 1099, Part 2
A couple weeks back I posted Employee or 1099 and now that my friend Wes Dumey has posted his last installment, I...
2008-07-09
319 reads
A couple weeks back I posted Employee or 1099 and now that my friend Wes Dumey has posted his last installment, I...
2008-07-09
319 reads
Po fillojme me publikimin e te gjitha shkurtesave qe perdoren ne SQL Server 2005...fillimisht do ta publikoj vetem nje e...
2008-07-09
595 reads
Hi,
I'm posting the SQL Server 2005 shortcut here...and it is just begining.
If you want to start the SSMS (SQL Server...
2008-07-09
3,320 reads
Hi - SQL World!
Here in my blog I will post everything about SQL Server 2000/2005/2008!
Hope that I will help my IT...
2008-07-08
642 reads
Ran across IronKey Personal in PC Magazine and thought some of you might be interested. It has built in encryption,...
2008-07-08
281 reads
It's been a long time since I saw a vulnerability in SQL Server released. And to date, there haven't been...
2008-07-08
801 reads
I went away in the mountains for July 4th to a camping facility with the family. I was an unwired...
2008-07-07
891 reads
I had a note to myself to write up some notes about listening on a non standard port, but it...
2008-07-07
399 reads
I will be speaking at an upcoming JSSUG (Jacksonville SQL Server User Group) meeting Wednesday July 16th. This event will...
2008-07-07
516 reads
Just over a year ago I decided to start a blog and I put an item on my calendar to...
2008-07-06
356 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