The New Year - 2009
It's the first day of 2009 and Steve Jones gives a few predictions for the new year in this editorial.
2008-12-31
79 reads
It's the first day of 2009 and Steve Jones gives a few predictions for the new year in this editorial.
2008-12-31
79 reads
It's the first day of 2009 and Steve Jones gives a few predictions for the new year in this editorial.
2008-12-31
60 reads
It's the first day of 2009 and Steve Jones gives a few predictions for the new year in this editorial.
2008-12-31
85 reads
XBRL is yet another use of XML, this time for financial reporting. It is supposed to be in place for...
2008-12-30
1,724 reads
Steve Jones gives one last update on energy issues in the US in 2008 with a look at the construction and building industries.
2008-12-30
92 reads
2008-12-30
2,820 reads
Steve Jones is considering changes to SQLServerCentral and presents a few ideas today.
2008-12-29
158 reads
Steve Jones wonders if Microsoft is doing a good job with their efforts to patch SQL Server security issues?
2008-12-29
85 reads
2008-12-29
1,519 reads
Steve Jones looks back at the past year and database news that has occurred.
2008-12-29
68 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