2019-01-02
168 reads
2019-01-02
168 reads
SQL Monitor has grown from a basic alerting system to an amazing product over the years. From it’s early days...
2019-01-02
290 reads
2019-01-02
604 reads
2019-01-01
77 reads
2019-01-01
831 reads
2018-12-31
76 reads
2018-12-31
79 reads
2018-12-28
45 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2018-12-27 (first published: 2018-12-05)
2,498 reads
It’s the end of the year, and I’m looking back at the events and travels I’ve had this year. I...
2018-12-27
291 reads
By gbargsley
It's 2 AM. Your phone is going off. Users can't connect to the application,...
By Steve Jones
I discovered a procedure recently that I wasn’t aware of: sp_sequence_get_range. This post looks...
By Arun Sirpal
After a year away getting to grips with AI and its application across the...
Employee owned company, been around for over 50 years. Hybrid opportunity, looking folks in Pacific...
i have huge table with lot of data and is also wide. i took...
Comments posted to this topic are about the item Creating a JSON Document II
I want to create a JSON document that contains data from this table:
TeamID TeamNameCity YearEstablished 1 Cowboys Dallas 1960 2 Eagles Philadelphia 1933 3 Packers Green Bay 1919 4 Chiefs Kansas City 1960If I run this code, what document(s) is/are returned?
SELECT json_objectagg( n.city : n.TeamName) FROM dbo.NFLTeams;See possible answers