Fear Based Decisions
Most of us aren't good decision makers. We make decisions based on emotion rather than facts, and for many decisions...
2009-02-25
2,280 reads
Most of us aren't good decision makers. We make decisions based on emotion rather than facts, and for many decisions...
2009-02-25
2,280 reads
Like most everyone who works hard in our industry, I’ve run into more than a few conflicts trying to balance...
2009-02-25
1,594 reads
Microsoft has introduced a new website (part of Microsoft.com) called Thrive. It is still in its infancy, but its focus...
2009-02-25
1,371 reads
This question comes up a lot in the forums: "How do I know if the login owns any objects?" Usually...
2009-02-24
7,422 reads
Today, Microsoft release a security advisory about a new vulnerability in Microsoft Excel. This one affects both PCs and Macs....
2009-02-24
1,808 reads
I like being able to view samples on my Kindle. It's one of the very neat features of the Kindle...
2009-02-24
1,652 reads
I've scheduled another iteration of my Technical Speaking Seminar for March 14, 2009 in Orlando. It's free, and I'm hosting...
2009-02-24
1,477 reads
When the weather is cold, the Prius performs much worse (relatively) than it does when it’s warm. It makes sense...
2009-02-24
1,798 reads
Question: What would be the best practice to configure Failover Clustering and Database Mirroring?
This question is frequently asked in one...
2009-02-23
1,554 reads
Yesterday I blogged about how to figure out what database principals corresponded to what server principals. The key is to...
2009-02-23
1,876 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