Pro SQL Server 2012 Practices Released Today
Happy Halloween! Are you looking for the perfect treat for your SQL Server costume?
Well, if so – I have the treat...
2012-10-31
15 reads
Happy Halloween! Are you looking for the perfect treat for your SQL Server costume?
Well, if so – I have the treat...
2012-10-31
15 reads
Happy Halloween everyone!
I’m stoked that the SQL PASS Summit is just one week from now! You are already registered, have...
2012-10-31
1,246 reads
Thanks to all who attended my webinar last Thursday on Building Dynamic Cube Reports. You can find my code
Recording:
http://pragmaticworks.com/LearningCenter/FreeTrainingWebinars/WebinarDetails.aspx?ResourceId=470
Code:
http://sdrv.ms/RqxbcF
There are...
2012-10-30
1,637 reads
Seven days, one full week, until opening night at Summit 2012. Getting excited yet? In my first post of the...
2012-10-30
1,245 reads
Management Studio is great tool with almost everything you need right at your fingertips. Notice I said "almost". I like...
2012-10-30
2,202 reads
I finally pulled my finger out and took the last exam of the MCSE SQL Server 2012 – Data Platform certification...
2012-10-30
6,882 reads
I love the SQL Community because it usually is a great environment to connect, share and learn. With that said,...
2012-10-30
1,619 reads
This post is part of a blog series which focuses on translating compatibility views in SQL Server to their respective...
2012-10-30
1,514 reads
Oh, dear! One more week until this year’s PASS Summit. If you haven’t registered yet, you’re really cutting it close. ...
2012-10-30
1,450 reads
Here are a couple of quick database and table level queries that I have found useful lately.
How many rows in...
2012-10-30
1,618 reads
By ChrisJenkins
Are you currently using Microsoft Fabric or considering migrating to it? If so, there...
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...
WhatsApp:0817866887 Gedung Taman Melati Margonda Jl. Margonda No.525 A, Pondok Cina, Kecamatan Beji, Kota...
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