2024-01-01
406 reads
2024-01-01
406 reads
koinophobia – n. the fear that you’ve lived an ordinary life. The last one of the year. I’ve enjoyed reading through this dictionary, learning new (made up) words, and...
2023-12-29
215 reads
Recently I was doing a demo and a customer asked how I had linked my commit in Azure DevOps to the work item that existed. It’s easy, and tldr;...
2023-12-29
33 reads
I’m a data guy, so I decided to drop some numbers in a post. I did this last year, so this one includes a few comparison points. Music From...
2023-12-29
19 reads
On the last working day of 2023, Steve says you should think about making a 2024 plan for your career.
2023-12-29
209 reads
2023-12-29
444 reads
I saw someone using DATETRUNC recently in some code and realized I hadn’t really looked at this function before. It’s one that was added in SQL Server 2022, though...
2023-12-29 (first published: 2023-12-18)
476 reads
Recently I was working with Flyway Desktop (FWD) and helping a customer work on deploying part of their work. They weren’t sure how easy this could be, but this...
2023-12-27 (first published: 2023-12-15)
134 reads
Steve is relieved that he hasn't updated sqlmemorial.org this year, but worries he's missed remembering some of our colleagues.
2023-12-27
169 reads
2023-12-27
487 reads
By Steve Jones
I went to sleep while reading a Kindle book on my phone. I know...
A conversation with Jan Laš, CIO at HOPI, about what deploying a data agent...
It's time for T-SQL Tuesday #198! This month's topic is change detection. The post T-SQL...
We suffered a SPAM attack from May 1-6, which unfortunately corresponded with time off...
Hi to all We have situation at a client where someone is illegally changing...
Hi to all We have situation at a client where someone is illegally changing...
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 TOP 2
json_objectagg('Team' : TeamName)
FROM dbo.NFLTeams;
See possible answers