Professional Growth – Community Involvement
As part of my professional development and to help raise my professional profile, I have become more involved with my...
2009-08-25
611 reads
As part of my professional development and to help raise my professional profile, I have become more involved with my...
2009-08-25
611 reads
Louis Davidson (@DrSql) had an excellent series on his blog on the Pillars of Database Design and the one of...
2009-08-24
436 reads
Well, I had a pretty good week this week. I made an effort and met all my goals:
Eat smaller portions...
2009-08-23
357 reads
Okay, Jorge Segarra (@SQLChicken) tagged me in Chris Shaw’s (@SQLShaw) latest SQL Quiz, SAN’s and Mirroring. I’m a little behind...
2009-08-21
337 reads
Wow! Andy Warren has put together a week of low-cost seminars filling the entire week before SQLSaturday #21 – Orlando. What...
2009-08-17
464 reads
Well, I had a pretty good week this week. I made an effort and met all my goals:
Eat smaller portions...
2009-08-15
378 reads
When I first started by career in IT and SQL Server about 10 years ago I lived in a small...
2009-08-12
458 reads
Since I have an MSDN subscription I downloaded Windows 7 Ultimate 64-bit this past week. I installed it on my...
2009-08-09
394 reads
Well, I made it through the first week of Active August (Twitter) without killing myself. In my first Active August...
2009-08-08
334 reads
PASS is sponsoring a 24 hours of PASS event on September 2nd. Consecutive live (Live Q&A also) 1 hour sessions...
2009-08-03
319 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