How easy it is to check which statements consuming most of the CPU & RAM–TIP #68
Problem:- One of the most important question comes in our mind what is the cause of slow SQL SERVER.
We...
2014-11-01
266 reads
Problem:- One of the most important question comes in our mind what is the cause of slow SQL SERVER.
We...
2014-11-01
266 reads
As we discussed in earlier tips how to take full backup and differential backup now in this tip we will...
2014-10-30
900 reads
Friends,
We were discussing backup from last few post. Now lets take a look one more feature of backup which is...
2014-10-28
528 reads
In last few tips TIP #64 & TIP #65 we get information how to take backup & How to ensure it can...
2014-10-25
287 reads
By SQLPals
Track SQL Server Configuration Changes Using the Error Log If you...
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...
WhatsApp:0817866887 Jl. Borobudur No.I, RT.03/RW.07, Mojolangu, Kec. Lowokwaru, Kota Malang, Jawa Timur 65125
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
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