Midlands PASS Meeting tonight with Andy Leonard
If tonight you’re in or can get to the Columbia, SC area, we have a treat for you! Former SQL...
2019-01-08
188 reads
If tonight you’re in or can get to the Columbia, SC area, we have a treat for you! Former SQL...
2019-01-08
188 reads
On January 17, 2019, I will be giving a webcast with MSSQLTips on data modeling best practices. It’s scheduled for...
2018-12-28
1,320 reads
Midlands PASS won’t be holding a meeting in December. Too much going on! However, we are hosting meetings in January...
2018-11-27
205 reads
Have you ever been in a meeting where the attendees seemed to go down one rabbit trail after another? At...
2018-11-30 (first published: 2018-11-16)
1,818 reads
Microsoft redid its Data Science Track not too long ago and they added several courses and new progress points. One...
2018-11-19 (first published: 2018-11-08)
2,783 reads
For those of us who have been on twitter for a long time, we are familiar with the #sqlhelp hashtag....
2018-11-07
290 reads
I’m always on the looking our excellent training, especially free training. Tim Mitchell, Microsoft Data Platform MVP, (twitter | website) has...
2018-10-29
272 reads
If you attended either of my presentations for this past IT/Dev Connections, here are the promised slides and scripts.
As I...
2018-10-23
245 reads
This month’s #SQLChat is hosted by Rie Irish (twitter | blog). It’s a timely topic: Making the Most of Conferences. With...
2018-10-22
213 reads
With Hurricane Florence no longer a hurricane, we have rescheduled the webinar for next Wednesday, September 26, 2018.
Free sign up...
2018-09-19
216 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