Red Gate's SQL Data Generator
I'm reading SQL Server MVP John Magnabosco's new e-book, Protecting SQL Server Data, and he includes a database schema to...
2009-10-03
3,036 reads
I'm reading SQL Server MVP John Magnabosco's new e-book, Protecting SQL Server Data, and he includes a database schema to...
2009-10-03
3,036 reads
I presented a Powershel session at the SW Florida .Net Code Camp IIl. The session demonstrated the following uses cases for...
2009-10-03
534 reads
“Should I get an MBA or an MCSE?” What an odd question. At least these days it seems odd. But,...
2009-10-02
301 reads
You can read the full text of it in today’s SSC Newsletter, the quick summary is that for many businesses...
2009-10-02
255 reads
Great news. We’ve managed to get one article all the way through the process. We’ll have our first publication out...
2009-10-02
719 reads
Over the past few months I have been upgrading most of my SQL Server Reporting Services (SSRS) 2005 installs to...
2009-10-02
574 reads
It was nice to work through my email and find a bit of positive news instead of more work! I’m...
2009-10-02
393 reads
As the first stop of my five city speaking tour of Australia, I spoke at the Perth .NET Users Group...
2009-10-02
478 reads
I've written about this before, but probably not as a specific subject or blog post. Trading some comments with a...
2009-10-02
807 reads
EVERY ATTENDEE IN THE MEETING WILL BE ENTERED IN A DRAWING FOR A FREEfull license of SQL Sentry Performance Advisor...
2009-10-02
1,018 reads
By Vinay Thakur
In previous posts, we looked at the SQL Server engine. for us DBAs, the...
By Arun Sirpal
You have used Claude. But which Claude? The Claude app (claude.ai, the desktop and...
By Steve Jones
This month we have a new host, Meagan Longoria, who graciously agreed to help...
Comments posted to this topic are about the item Creating a JSON Document IV
By VishnuGupthanSQLPowershellDBA
Comments posted to this topic are about the item Restoring Azure Key Vault Keys...
When the schema of an object is changed, SQL Server wipes out the previous...
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