The Vacation Crash
The family returned back from the UK last night, after traveling for something like 14 hours, plus an early morning...
2010-03-31
1,548 reads
The family returned back from the UK last night, after traveling for something like 14 hours, plus an early morning...
2010-03-31
1,548 reads
2010-03-30
1,462 reads
With Steve Jones on vacation, we reprint on of his more popular editorials from the past. This was originally published on Feb 14, 2005.
2010-03-30
210 reads
Spatial support is coming to SQL Azure soon, and Steve Jones thinks about how the service could improve this support.
2010-03-29
63 reads
I was reading through the latest XML Workshop article that I have from Jacob Sebastian. It’s a fantastic series for...
2010-03-26
1,476 reads
I went to the UK SQL Server User Group in Cambridge on Wednesday. I’m not sure it’s the Cambridge group...
2010-03-25
687 reads
Imagine my surprise when I arrived at the Red Gate offices Monday morning to find Jeff Aven at the office....
2010-03-25
2,572 reads
Steve Jones talks about the controversy surrounding the PASS Survey and future Summit announcements. And about how we, as data professionals, might subtly bias clients.
2010-03-24
129 reads
I’m heading to our “publishing summit” today at one of the Cambridge University buildings. I’m a part of the group...
2010-03-24
784 reads
It’s getting close to that time of year when you can apply to run for the PASS Board of Directors....
2010-03-24
1,649 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