Upcoming SQL Saturday Precon Training – Columbus OH
I have an exciting training session announcement! On Friday, July 10th, I will be presenting a full-day training class ahead...
2015-06-26
596 reads
I have an exciting training session announcement! On Friday, July 10th, I will be presenting a full-day training class ahead...
2015-06-26
596 reads
Thank you all for attending my MSSQLTipswebinar today with Sumeet Bansal from Tegile Systems! In the presentation, I made reference to...
2015-06-23
615 reads
This Tuesday, June 23rd, at 3pm Eastern time I will be co-presenting a free live webinar with Sumeet Bansal from...
2015-06-22
505 reads
I’m learning how beneficial SIOS iQ is to your virtual SQL Server environments, and you should too.
SIOS iQ is a new...
2015-06-15
523 reads
If you live in the Midwest region around Iowa, Nebraska, South Dakota, and Minnesota, you should consider attending the first-ever...
2015-06-09
540 reads
A few weeks ago, while at the incredible SQL Saturday Madison, I had a great discussion with a few of the...
2015-06-03 (first published: 2015-05-22)
2,407 reads
The third Level in my Stairway to Virtualization series is now live at SQL Server Central! In this Level, we will...
2015-05-20
468 reads
Yesterday the next installment of the Stairway to Virtualization series went live on SQL Server Central! This level focuses on...
2015-05-14
442 reads
Recently, I was able to help SimpliVity work to develop a reference architecture document for running resource-intensive SQL Server virtual machines on...
2015-05-13
1,222 reads
A few weeks ago Bala Narasimhan from PernixData and I recorded a short conversation where we discussed the tips and tricks...
2015-05-08
383 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