Upcoming: Speaking on permissions at PASS Summit 2018 and 24 Hours of PASS
I’m excited to announce that I’ve been selected to present at the PASS Summit! This will be my fourth year...
2018-06-07
384 reads
I’m excited to announce that I’ve been selected to present at the PASS Summit! This will be my fourth year...
2018-06-07
384 reads
I’m excited to announce that I’ve been selected to present at the PASS Summit! This will be my fourth year speaking at the Summit, and it’s always a privilege....
2018-06-07
8 reads
I’m excited to announce that I’ve been selected to present at the PASS Summit! This will be my fourth year speaking at the Summit, and it’s always a privilege....
2018-06-07
6 reads
I’m excited to announce that I’ve been selected to present at the PASS Summit! This will be my fourth year speaking at the Summit, and it’s always a privilege....
2018-06-07
6 reads
I’m excited to announce that I’ve been selected to present at the PASS Summit! This will be my fourth year speaking at the Summit, and it’s always a privilege....
2018-06-07
3 reads
In my last post, I talked about the process of rotating your encryption keys. It’s just one of those routine...
2018-05-09 (first published: 2018-05-01)
2,891 reads
This post is part of the May 2018 T-SQL Tuesday blog challenge, “Giving Back“, from Riley Major.
It’s been quite a...
2018-05-08
193 reads
This post is part of the May 2018 T-SQL Tuesday blog challenge, “Giving Back“, from Riley Major. It’s been quite a while since I’ve participated in a T-SQL Tuesday....
2018-05-08
9 reads
This post is part of the May 2018 T-SQL Tuesday blog challenge, “Giving Back“, from Riley Major. It’s been quite a while since I’ve participated in a T-SQL Tuesday....
2018-05-08
5 reads
This post is part of the May 2018 T-SQL Tuesday blog challenge, “Giving Back“, from Riley Major. It’s been quite a while since I’ve participated in a T-SQL Tuesday....
2018-05-08
5 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