Part of the Election Review Committee...
... and I'm wary, but not weary. I'm not weary because I'm looking forward to trying to help. I'm not weary...
2010-11-18
1,139 reads
... and I'm wary, but not weary. I'm not weary because I'm looking forward to trying to help. I'm not weary...
2010-11-18
1,139 reads
I needed to figure out how much space was required to maintain 7 days of event log entries for the...
2010-11-17
2,338 reads
This is a problem we just solved, which was causing us to not be able to hit the remote registry...
2010-11-16
2,270 reads
Tuesday
SQL Lunch - Get a Lever and Pick Any Turtle: Lifting with Metadata - Cade Roux
Pragmatic Works - SSIS Dataflow - Designing for Performance...
2010-11-12
797 reads
and so did you, if you are a member of the SQL Server community.
I had of the three abstracts in the...
2010-11-11
650 reads
I've talked about the fact that everyone needs to contribute for the success of the team and that everyone should...
2010-11-08
1,454 reads
No, not backups as in SQL Server backups, but who to tag when someone is out or so slammed with...
2010-11-05
2,095 reads
Tuesday
PASS - Day One Opening Keynote (Ted Kummert) Live Stream
Wednesday
PASS - Day Two Keynote (Quentin Clark) Live Stream
PASS - Women in Technology Luncheon...
2010-11-05
726 reads
As promised, here are the slides and sample code from my SQL Lunch presentation today. Thanks for all who came...
2010-11-04
685 reads
By day I'm a DBA. Nights and weekends I'm a junior high youth pastor and Awana commander. I have the...
2010-11-03
1,469 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