Microsoft Solution Accelerators on TechNet
I was browsing through the new titles that are on Safari and saw some planning guides around Windows Server 2008...
2009-01-15
815 reads
I was browsing through the new titles that are on Safari and saw some planning guides around Windows Server 2008...
2009-01-15
815 reads
If not, you should. Because autoplay being on means any time a removable data device, such as a USB stick,...
2009-01-15
748 reads
I've mentioned before that I was on Twitter and I know that for some the question is still out on...
2009-01-12
911 reads
This came up on Twitter today. I have a search set for "SQL Server" and it pulled up someone who...
2009-01-09
946 reads
First saw this because Jason Massietwittered about it. But apparently there are enough bits of the .NET Framework in R2...
2009-01-09
1,258 reads
I have a lot of blogs I subscribe to. Well over 500 at last count. And the truth of the...
2009-01-07
724 reads
Received my notification via email this morning that I've been recognized as a Microsoft MVP for SQL Server. It's been...
2009-01-01
736 reads
With the holidays about over, I'm catching up on my RSS feed reading. This is an article from the beginning...
2008-12-29
1,616 reads
Back in October I had the opportunity to work with Andy Warren and do a series of SQL Server security...
2008-12-17
1,401 reads
Another diabolical idea of Chris Shaw. I'm actually late to the game because I got tagged a week ago by...
2008-12-16
985 reads
By HeyMo0sh
One of the biggest challenges I’ve faced in cloud operations is maintaining clear visibility...
By Steve Jones
I come to Heathrow often. Today is likely somewhere close to 60 trips to...
By Brian Kelley
If your organization is spending money, then meaningful results are a must. Pen testing...
Comments posted to this topic are about the item Fun with JSON II
Comments posted to this topic are about the item Changing Data Types
Comments posted to this topic are about the item Answering Questions On Dropped Columns
I have some data in a table:
CREATE TABLE #test_data
(
id INT PRIMARY KEY,
name VARCHAR(100),
birth_date DATE
);
-- Step 2: Insert rows
INSERT INTO #test_data
VALUES
(1, 'Olivia', '2025-01-05'),
(2, 'Emma', '2025-03-02'),
(3, 'Liam', '2025-11-15'),
(4, 'Noah', '2025-12-22');
If I run this query, how many rows are returned?
SELECT t1.[key] AS row,
t2.*
FROM OPENJSON(
(
SELECT t.* FROM #test_data AS t FOR JSON PATH
)
) t1
CROSS APPLY OPENJSON(t1.value) t2; See possible answers