How Can I Tell if SQL Agent is Running via SQL?
Introduction
Today’s post is a continuation in my on-going effort to document all of the scripts I use to manage my...
2010-05-04
413 reads
Introduction
Today’s post is a continuation in my on-going effort to document all of the scripts I use to manage my...
2010-05-04
413 reads
Post your responses to the above SQL Aloha Question of the Month in the comments section below (at www.bradmcgehee.com if...
2010-05-04
823 reads
SQLServerCentral.com, along with Red Gate Software, are glad to announce that nominations for the 2010 Exceptional DBA Awards are now...
2010-05-04
1,554 reads
Sometime soon we’ll start the process of the 2010 PASS election, with three seats on the Board of Directors being...
2010-05-04
404 reads
Since I am very interested in various PC-based hardware, and I make an effort to stay current on new developments,...
2010-05-04
862 reads
My first post in my replication series gave a brief overview of replication, before I dive into setting up and...
2010-05-04
7,321 reads
The free 24 Hours of PASS event will held May 19 & 20, and includes 24 different one hour presentations on...
2010-05-03
412 reads
A couple weeks ago I wrote about testing the LinkedIn polling capability, putting up this poll:
The response rate wasn’t great,...
2010-05-03
321 reads
The Issue
Being involved in PASS and the SQL Server community via blogging and Twitter, I get to see and hear...
2010-05-03
1,036 reads
Well, I managed to finish up my series that featured a DMV query every day during the month of April....
2010-05-03
2,908 reads
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...
By Steve Jones
This month we have a new host, Meagan Longoria, who graciously agreed to help...
WhatsApp:0817866887 Bank Bca Kcu Purwakarta, Jl. Jendral Sudirman No.85, Nagri Tengah, Kec. Purwakarta, Kabupaten...
WhatsApp:0817866887 Jl. Ahmad Yani No.39 A, Rw1, Sidokumpul, Kec. Sidoarjo, Kabupaten Sidoarjo, Jawa Timur...
WhatsApp:0817866887 Jl. Otto Iskandardinata No.37, Karanganyar, Kec. Subang, Kabupaten Subang, Jawa Barat 41211
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