Books VS Internet
It’s is very easy to be
confused between investing in books or we should use the power of internet. If
you ask...
2016-09-19
234 reads
It’s is very easy to be
confused between investing in books or we should use the power of internet. If
you ask...
2016-09-19
234 reads
Introduction - Detecting and Monitoring Memory Pressure
I will be writing this article in four parts because this
topic is huge and amount...
2016-09-15
477 reads
In this article I will be posting interview questions by companies. Whenever I am facing any interview or someone shares...
2016-09-13
331 reads
This is post going to be more like a list of question for self assessment. So I will not be...
2016-09-12
243 reads
This is post going to be more like a list of question for self assessment. So I will not be...
2016-09-12
56 reads
If you are reading this article, I assume
that you have basic knowledge of Index, its types and usage.
Over the...
2016-09-08
198 reads
Special
Table Types
Objective of this post is to provide a list of special
tables available in Sql Server and brief description of...
2016-09-08
201 reads
Sql Server – Statistics (Create, Update and delete Statistics)
If you are reading this Article, I assume that you know the basics...
2016-09-07
335 reads
Sql Server – Listing all
tables Metadata (Table Size, row count, Index Size)
Suppose you need to find out Table size, row
count , index...
2016-09-06
353 reads
Top
Slowest Queries or Resource Extensive Queries
Whenever your database is facing any performance issue or resource scarcity,
the first step should be...
2016-09-06
245 reads
By Steve Jones
This month we have a new host, Meagan Longoria, who graciously agreed to help...
By Steve Jones
I’m at the UK Redgate office today, meeting with senior leaders in all areas...
Optimizing Azure SQL Database performance often begins with identifying the most resource-intensive queries. Understanding...
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