SQL Server Free eBooks, Softwares, Tutorials and Websites
When we start working as developer or learning, we often
face this issue. Where is the best tutorials, books and other...
2017-04-10
284 reads
When we start working as developer or learning, we often
face this issue. Where is the best tutorials, books and other...
2017-04-10
284 reads
Requirement: Recently we got the information from management
that our project will be getting the customers from China, so our application
should...
2017-03-28
150 reads
In this article I will be listing the tips and tricks to work like
a Pro.
So let's get started –
Important keyboard...
2017-02-20
270 reads
I will be writing
this article in four parts because this topic is huge and the amount of
information can be overwhelming...
2017-02-06
554 reads
This is not an article or a script. I am posting this just to share my experience and I feel...
2017-01-30
938 reads
There are many situations when we want to know the size of our database tables or just need a list...
2017-01-19
692 reads
I will be writing this series of articles for the Special Indexes in SQL Server. In this series we will...
2016-11-11
505 reads
This
article is the part of series Mastering Index, in this particular article
we will be exploring Index on computed
columns. Take a look...
2016-11-07
548 reads
This article is the part of series Mastering Index, in this particular article we will be exploring Index with included...
2016-10-18
488 reads
This article is the part of series Mastering Index, in this particular article we will be exploring Unique Index. Take a...
2016-10-14
465 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