Rows or Range, What’s the difference ?
With the release of Denali CTP3 came an extension of the over clause to allow for a sliding window of...
2011-09-22
2,313 reads
With the release of Denali CTP3 came an extension of the over clause to allow for a sliding window of...
2011-09-22
2,313 reads
In case you didn't know SQLBits 9 ,”Query across the Mersey”, is taking place in Liverpool from September 21st to...
2011-08-31
1,564 reads
Over the past few weeks, I’ve been training developers in what they really need to know about SQL Server to...
2011-08-01
1,342 reads
In Denali CTP3, we have a new of new functions to play with. For this post, im going to focus...
2011-07-19
796 reads
In my last blog I showed how persisted data may not be used if you have used the base data...
2011-06-20
535 reads
Not that you would know it from the page below, but Itzik Ben-Gan is back in London to do a...
2011-06-17
1,284 reads
Working at a client site, that in itself is good to say, I ran into a set of circumstances that...
2011-06-13
627 reads
Ordinarily, column order of a SQL statement does not matter.
Select a,b,c
from table
will produce the same execution plan as Select c,b,a
from...
2011-06-06
2,179 reads
At the Kent user group we have two upcoming events. Both are to be held at F-Keys Training suite http://f-keys.co.uk/...
2011-06-05
645 reads
Thanks to those who turned out to see my presentation at SqlHerts on Thursday 26thMay. Its a true pleasure to...
2011-05-29
1,335 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...
We have a SQL Server installed. We have a 500GB drive for the database....
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...
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