Do you Dream?
You ever have those nights consumed by all things SQL?
I do. It happens more than I might like sometimes. Usually...
2012-10-11
931 reads
You ever have those nights consumed by all things SQL?
I do. It happens more than I might like sometimes. Usually...
2012-10-11
931 reads
A while back, I wrote a simple little query that lets you Get Index Included Column Info (because sp_help and sp_helpindex only...
2012-10-11
1,670 reads
There are four different way to interact with Master Data Services (MDS) to do things such as create a model, load...
2012-10-11
3,135 reads
This post is part of a blog series which focuses on translating compatibility views in SQL Server to their respective...
2012-10-11
773 reads
If you're dealing with a version of SQL Server greater than SQL Server 2000, at this point I'm going to...
2012-10-11
1,980 reads
Multiple CTEs
It’s somewhat obscure in BOL and I wasn’t able to find any examples but it turns out you can...
2012-10-11 (first published: 2012-10-09)
4,572 reads
Thanks to the 15+ folks who attended the Baton Rouge SQL Server User Group meeting last night! I hope everyone...
2012-10-11
757 reads
While conducting interviews , I have noticed that, many people does not have clear picture about index.Many of them does not...
2012-10-11
1,374 reads
Service packs are very critical and important. It is very important from product upgrade & bug fixing point of view.
Microsoft has...
2012-10-11
712 reads
As many of you are aware, a SQL Server security patch came out this week (MS12-070 - Vulnerability in SQL Server...
2012-10-11
1,011 reads
Good documentation gets you started. Good books get you deep. After years of working...
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...
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