Updated SQL Server 2008 Diagnostic Queries
Here is the mid-December version of my diagnostic queries for SQL Server 2008. The idea here is to be able...
2009-12-16
980 reads
Here is the mid-December version of my diagnostic queries for SQL Server 2008. The idea here is to be able...
2009-12-16
980 reads
Each year I attend an annual Christmas party that’s essentially a JD Edwards Operations department party. JD Edwards hasn’t existed...
2009-12-15
713 reads
Database Design. Sounds simple, and at the same time, demanding. I mean, what's to design. You just need a few...
2009-12-15
357 reads
Endgadget has a post up about an upcoming 32nm Westmere family CPU called the Core i7-980X, which will have six...
2009-12-15
759 reads
I currently write the editorial for the PASS Connector which is published every two weeks as part of my role...
2009-12-15
582 reads
John Baldwin and Morgan Smith are going to repeat in Birmingham this year on Mar 27. They’ve got a great...
2009-12-15
600 reads
I had a question from a member of our local user group about options to get a legal copy of...
2009-12-15
743 reads
I was tagged earlier this week by Tim Ford to comment on my biggest weakness. I wish I could say...
2009-12-15
785 reads
The short answer is that's where my heart has been. I write because I feel compelled to write. I don't...
2009-12-15
1,020 reads
My friend Ryan Duclos just sent me a reminder about the upcoming Alabama Code Camp on January 23, 2010, in...
2009-12-14
685 reads
By Arun Sirpal
After a year away getting to grips with AI and its application across the...
By SQLPals
Beware of Generic SQL Server License Keys (What to Use Instead) ...
By Brian Kelley
Professor Patrick Winston of MIT used to give a one-hour talk about how to...
Comments posted to this topic are about the item Creating a JSON Document II
By VishnuGupthanSQLPowershellDBA
Comments posted to this topic are about the item Backing Up Azure Key Vault...
Comments posted to this topic are about the item Every Database Has Problems
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