Review: NPR Baseball Driveway Moments
NPR Baseball Driveway Moments ($15 @ Amazon) is an audio book I got from the local library to listen to on...
2010-10-12
389 reads
NPR Baseball Driveway Moments ($15 @ Amazon) is an audio book I got from the local library to listen to on...
2010-10-12
389 reads
Here are the slides and demo script from the presentation on Understanding SQL Server Query Processing.
2010-10-12
543 reads
We’ve tried to move away from shirts as a speaker gift, most speakers have them so we only get them...
2010-10-12
505 reads
I will be speaking at the South Florida SQL Server User Group on October 13 via Live Meeting. My topic...
2010-10-12
442 reads
The real world can get in the way of important things like SQL Saturday. In the case of SQL Saturday...
2010-10-12
564 reads
A SQL Server database can be in one of three recovery models. FULL, BULK_LOGGED and SIMPLE. The recovery model you...
2010-10-12
1,945 reads
SQLSaturday#59 - Interview with Robert Pearl (1st in series) - Say what?
As we get the countdown under way, I caught up...
2010-10-12
1,218 reads
Note: Updated 10/28 based on conversation in the comments, and 12/10 with Denali info.
TSQL Tuesday #11: Misconceptions in SQL Server
This...
2010-10-12
1,002 reads
It’s time for T-SQL Tuesday again, and I’m happy to participate again. This is a monthly blog party started by...
2010-10-12
1,260 reads
I haven’t written a post for a TSQL Tuesday for a little while and I know that I’m late getting...
2010-10-12
1,070 reads
By HeyMo0sh
Over time, I’ve realised that one of the hardest parts of cloud management isn’t...
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...
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