PASS Summit 2012 Day 2: KILT DAY!
Welcome to the fourth Kilt Day at the SQL PASS Summit. It might be a little silly, but it’s fun....
2012-11-08
1,326 reads
Welcome to the fourth Kilt Day at the SQL PASS Summit. It might be a little silly, but it’s fun....
2012-11-08
1,326 reads
We’re off and running here at the PASS Summit.
New this year is live streaming all day.
Bill Graziano is introducing the...
2012-11-07
927 reads
The Summit proper starts on Wednesday, but the Summit starts at registration. I left a little early from work setting...
2012-11-05
988 reads
I’m continuing to work with the Surface.
BOOM
I just had my first crash. I was in IE when I tried to...
2012-11-02
1,160 reads
More stuff about the Surface.
Web browsing works extremely well so far. I enjoy how you can swipe to move back...
2012-11-01
802 reads
I’m going to do with this what I should have done with the Piece Of Fruit (POF), blog about the...
2012-10-31 (first published: 2012-10-28)
3,271 reads
Let’s talk some more about the basic keyboard. I’m really surprised at how well it works. But, it’s absolutely going...
2012-10-31
1,440 reads
I know I focus on community, SQL Server, professional development and process. But you need to do other stuff occasionally...
2012-10-26
730 reads
It may seem obvious, but I’ve heard more than one person suggest to me that statistics on a clustered index...
2012-10-22
1,160 reads
If you missed all the great speakers on the five city tour of SQL in the City, don’t despair. Many...
2012-10-17
1,144 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