Tip: Use System Views to Compare Column Datatypes
Let’s say that you have a staging table, that then loads to a destination table in the same database. If...
2010-09-13
542 reads
Let’s say that you have a staging table, that then loads to a destination table in the same database. If...
2010-09-13
542 reads
What is SQL Saturday?
SQLSaturday is a training event for SQL Server professionals and those wanting to learn about SQL Server....
2010-09-12
506 reads
Just for info that the incoming 24 Hours of PASS now has bonus sessions ...you can check for the details...
2010-09-10
712 reads
I use VirtualBox from Sun to do SQL testing since it supports 64-bit guest images, which I want need for...
2010-09-10
1,608 reads
I have been trying to better track my goals this year, and find myself failing at some, exceeding at others....
2010-09-10
413 reads
It’s not safe for work (NSFW), so be sure that you’ve implemented a cone of silence as appropriate for your...
2010-09-10
611 reads
Someone who I follow on twitter posted a tweet recently with a link to a free eBook on PowerShell. I...
2010-09-10
2,590 reads
I was channel flipping after dinner when I saw this and had to stop to watch a few minutes of...
2010-09-10
306 reads
Today we’re announcing the call for speakers for pre-conference seminars at the first SQLRally being held in Orlando in May...
2010-09-10
750 reads
It appears our success with the SQLRally Logo Design Contest has struck a chord with PASS HQ. This morning Rick...
2010-09-10
811 reads
A short blog post about an issue with Fabric Mirroring (with Azure SQL DB...
By Steve Jones
I wrote an article recently on the JSON_OBJECTAGG function, but neglected to include an...
By HeyMo0sh
After working deep in cloud operations, I’ve learned that FinOps isn’t really about dashboards...
Comments posted to this topic are about the item Creating a JSON Document I
Comments posted to this topic are about the item Who is Irresponsible?
Comments posted to this topic are about the item Designing Database Changes Before Deployment:...
I want to create a JSON document that contains data from this table:
TeamID TeamName City YearEstablished 1 Cowboys Dallas 1960 2 Eagles Philadelphia 1933If I run this code, what is returned?
SELECT json_objectagg('Team' : TeamName)
FROM dbo.NFLTeams;
See possible answers