Re-Awarded MVP Status for 2010
I have been re-awarded MVP status for SQL Server for 2010. It's a humbling honor, and I will strive again...
2010-01-01
933 reads
I have been re-awarded MVP status for SQL Server for 2010. It's a humbling honor, and I will strive again...
2010-01-01
933 reads
I'm going to conclude this series on running a small user group with a topic that came up for discussion earlier...
2009-12-31
1,405 reads
Because running a small user group is a labor of love, we look for time savings wherever we can to...
2009-12-30
1,830 reads
When we first started Midlands PASS, we tried to do it the way PASS suggested. We tried to get folks...
2009-12-29
1,416 reads
Midlands PASS is a small user group. We average about 15 people coming to meetings, which is good for Columbia,...
2009-12-28
1,187 reads
Yesterday I talked about taking notes using Google Docs. It's a great way if you've got multiple systems (especially with...
2009-12-18
1,552 reads
I've admittedly been a terrible note taker growing up. Throughout most of school, I've always been able to remember everything...
2009-12-17
2,122 reads
I was tagged by Mike Walsh in the latest meme to circle the SQL Server community, which is what is...
2009-12-16
1,631 reads
The short answer is that's where my heart has been. I write because I feel compelled to write. I don't...
2009-12-15
1,020 reads
I'm reading As Iron Sharpens Iron, which is a classic book on Christian mentoring. Written by Dr. Howard Hendricks and...
2009-12-14
789 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