Upgrading your databases to SQL Server 2005 class
I attended a two day class this week that was fantastic. It was taught by the author of the course material,...
2006-02-01
1,291 reads
I attended a two day class this week that was fantastic. It was taught by the author of the course material,...
2006-02-01
1,291 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
My box of books arrived today! For me, a first-time author (actually co-author), this is very surreal. I remember it was...
2006-01-25
1,328 reads
Sometimes those connection problems come in the most interesting ways.
I took a few minutes over lunch today to try...
2006-01-24
1,389 reads
Sometimes you must "convert" a column or variable from one data type to another. For example, if you want to...
2006-01-23
1,804 reads
I had a couple people ask about the move after my editorial, but my wife doesn't like the address to...
2006-01-20
1,541 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
As if it weren't enough that I was moving my home, the SSC site is also moving. I'll drop some...
2006-01-18
1,424 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