Mavericks don't make it
One of the blogs I most enjoy reading is Life Beyond Code.
This blog allows me to take off my technology...
2006-02-18
1,444 reads
One of the blogs I most enjoy reading is Life Beyond Code.
This blog allows me to take off my technology...
2006-02-18
1,444 reads
In the tradition of many others, I decided to add a reading list to my professional site. The reading list...
2006-02-16
1,421 reads
I've been out of pocket and off the forums for the last few weeks as
we've had several major tasks where...
2006-02-15
1,370 reads
I saw this on Greg Hughes' blog
and wondered, "What in the world?" So I took a look. It's one of...
2006-02-10
1,429 reads
I've been thinking about doing this for a whole and I finally got
around to building a reviews section into the...
2006-02-08
1,470 reads
This is just neat. I saw the link in a post on Tess Ferrandez's blog.
She's an escalation engineer with Microsoft...
2006-01-27
1,520 reads
Atadore has opened up forums for support and feature requests of its
PromptSQL tool. You can find them on the PromptSQL...
2006-01-26
1,357 reads
In reading Gianpaolo Carraro's blog I came across this entry: The architect greatest trick?!
In it he's talking about having seen...
2006-01-26
1,544 reads
I had the opportunity recently to take a look at PromptSQL and offer a
review on it. That review hit SSC.com's...
2006-01-18
1,433 reads
This actually premiered on Channel 9 right before Christmas. It is an
interview with Rob Short, a Microsoft VP in charge...
2006-01-07
1,507 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...
Hi all, I just started using VS Code to work with DB projects. 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
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