SQLAndy

Blog Post

PASS Update #7

A very short update this week, the minutes of the January 2009 board meeting have been posted. Going forward we've...

2009-03-02

351 reads

Blogs

T-SQL Tuesday #198 Invitation: How Do You Detect Data Changes?

By

It's time for T-SQL Tuesday #198! This month's topic is change detection. The post T-SQL...

Understanding Fabric MCP

By

Model Context Protocol, or MCP, is one of those technical ideas that sounds more...

AWS RDS Aurora - our first approach

By

When starting with AWS RDS Aurora for managing relational databases in the cloud, many...

Read the latest Blogs

Forums

BCA KCU DARMO TLP/WA 083800209966

By marbun

PPCR+MQ6, Jl. Raya Darmo No.5, Keputran, Kec. Tegalsari, Surabaya, Jawa Timur 60265

BCA KCP GRAJEN TLP/WA 083800209966

By marbun

Jl. MT. Haryono No.337, Jagalan, Kec. Semarang Tengah, Kota Semarang, Jawa Tengah 50136

BCA KCP ROYAL SQUARE TLP/WA 083800209966

By marbun

Royal Square, Jl. Raya Menganti Lt. 1 / Lt. Dasar RG 11, Babatan, Kec....

Visit the forum

Question of the Day

Creating a JSON Document III

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      1960
If I run this code, how many rows are returned?
SELECT TOP 2 
  json_objectagg('Team' : TeamName)
FROM dbo.NFLTeams;

See possible answers