One Week Left in the PASS SQLRally Call For Speakers
There is only one week left to submit your abstract for the PASS SQLRally. This is a great opportunity for...
2010-12-08
361 reads
There is only one week left to submit your abstract for the PASS SQLRally. This is a great opportunity for...
2010-12-08
361 reads
Ever feel worn out and/or burned out? Don’t worry you aren’t alone. As a matter of fact most people have...
2010-12-02
581 reads
Since it is the week of Thanksgiving in the United States, Jason Strate (@strateSql) has requested that bloggers post what...
2010-11-24
585 reads
Call for Speakers
With the close of the PASS Summit today, the call for speakers for PASS SQLRally has opened! so...
2010-11-11
324 reads
As most of you know, I am not attending the PASS Summit this year. I had all my plans made,...
2010-11-09
624 reads
Several bloggers have posted what their plans are for the PASS Summit and I’m following suit for 2 reasons:
So people...
2010-11-03
662 reads
This month T-SQL Tuesday is hosted by Paul Randal (@PaulRandal) and he asks the question, “Why are DBA Skills Necessary?”.
The...
2010-11-02
517 reads
If you read this blog you probably already know about the PASS SQLRally and that we are doing things a little...
2010-10-28
379 reads
SQLSaturday #49 – Orlando was this past weekend (October 16th, 2010). As one of the event organizers the entire week was...
2010-10-21
569 reads
Cross posted from the SQLPespectives blog put together Richard Rodriguez, Chris Shaw, and Jeremy Lowell for a chapter by chapter...
2010-10-19
777 reads
By Brian Kelley
I will be leading an in-person Certified Information Systems Auditor (CISA) exam prep class...
EightKB is back again for 2026! The biggest online SQL Server internals conference is...
By HeyMo0sh
Working in DevOps long enough teaches you two universal truths: That’s exactly why I...
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