T-SQL Tuesday #157: End of Year Activity
T-SQL Tuesday is a monthly blog party hosted by a different community member each month, and this month Garry Bargsley (blog | twitter) wants to know what activities we...
2022-12-13
15 reads
T-SQL Tuesday is a monthly blog party hosted by a different community member each month, and this month Garry Bargsley (blog | twitter) wants to know what activities we...
2022-12-13
15 reads
Today’s coping tip is to look at life through someone else’s eyes and see their perspective. I have my own views, beliefs, and thoughts about the world. However, I...
2022-12-12
11 reads
The title of this blog post is a bit misleading, because what we actually want to do is to install the SSIS development functionality in Visual Studio 2022. SSAS...
2022-12-12 (first published: 2022-11-25)
937 reads
SQL Server has had the native ability to encrypt data since SQL Server 2005. This included functionality that could be used to encrypt individual items and columns of data...
2022-12-12
133 reads
Making multilingual reports in Power BI requires a lot of different elements. Translations can be added to PBIX files to translate column names, visual titles, etc. but these translations...
2022-12-12 (first published: 2022-11-30)
203 reads
Today’s coping tip is to find out something new about someone you care about. I took the time to do this at the recent PASS Summit. During events like...
2022-12-09
15 reads
Last Updated on January 24, 2023 by John Morehouse © 2022 – 2023, John Morehouse. All rights reserved.
The post Hot Adding CPU to SQL Server first appeared on John...
2022-12-09
70 reads
We all (should) know that running SQL Server in hyperconverged virtual environments, both on-premises and in the cloud, has some interesting trade-offs. The biggest is write latency from the...
2022-12-09 (first published: 2022-11-25)
681 reads
We have some data we can query using the serverless SQL pools in Azure Synapse Analytics. For this blog post, I’m querying data that is stored in Azure Cosmos...
2022-12-09 (first published: 2022-11-23)
248 reads
I’ve republished an editorial today from another author, called What do you do to relax after work? I’m thinking about that a few weeks ahead, because I needed to...
2022-12-09
27 reads
By gbargsley
It's 2 AM. Your phone is going off. Users can't connect to the application,...
By Steve Jones
I discovered a procedure recently that I wasn’t aware of: sp_sequence_get_range. This post looks...
By Arun Sirpal
After a year away getting to grips with AI and its application across the...
Employee owned company, been around for over 50 years. Hybrid opportunity, looking folks in Pacific...
i have huge table with lot of data and is also wide. i took...
Comments posted to this topic are about the item Creating a JSON Document II
I want to create a JSON document that contains data from this table:
TeamID TeamNameCity YearEstablished 1 Cowboys Dallas 1960 2 Eagles Philadelphia 1933 3 Packers Green Bay 1919 4 Chiefs Kansas City 1960If I run this code, what document(s) is/are returned?
SELECT json_objectagg( n.city : n.TeamName) FROM dbo.NFLTeams;See possible answers