SQL Saturday DC Lessons Learned – Humility, Paying it Forward, and Dedication
This past weekend I attended SQL Saturday #233 in Washington DC. I presented a session this year titled “Backup and...
2013-12-09
560 reads
This past weekend I attended SQL Saturday #233 in Washington DC. I presented a session this year titled “Backup and...
2013-12-09
560 reads
Alright, I’ve got your attention. You’re probably thinking “who is this crazy guy that is using the word Love with...
2013-12-02
556 reads
It’s that time of the year again when SQL Saturday makes its way back to the Washington DC Area. Here...
2013-11-18
588 reads
The SQL Server Live! Conference in Orlando is between November 18-22, 2013. There is a discount code provided for those...
2013-10-28
713 reads
About a month ago I started a competition (hosted by the event organizers) to give away a free pass to...
2013-10-16
467 reads
For those of you that attended yesterday and are interested in the slides, you can download them here. Thanks! Topic:...
2013-10-11
741 reads
People are always concerned about Security when it comes to their data. I don’t blame them, I love keeping my...
2013-10-02
727 reads
If you’re in the DC/Baltimore area, or just feel like coming to DC to learn about SQL Server, please join...
2013-09-24
518 reads
Want a free pass to the SQL Server Live! conference in Orlando this year? Look no further, here is your...
2013-09-16
653 reads
The SQL Server Live! Conference in Orlando is between November 18-22, 2013. There is a discount code provided for those...
2013-08-07
655 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