NJ SQL UG Event: 13 Advanced SSAS Tips - Kevin S. Goff returns!
He's baack! If you missed the first presentation in March, due to inclement weather, and you are local, or in...
2015-06-10
808 reads
He's baack! If you missed the first presentation in March, due to inclement weather, and you are local, or in...
2015-06-10
808 reads
Announcing my new book available in hard copy and eBook, HealthySQL -
A Comprehensive Guide to Healthy SQL Server Performance, by...
2015-06-08 (first published: 2015-06-03)
3,460 reads
Originally published May 2014:
Well, as all folks in the United States know, this weekend we celebrate Memorial Day,
Monday May...
2015-05-22
986 reads
On an otherwise uneventful, other than the normal busy,
plate full, heading towards the US holiday weekend, middle-of-the-week, over
the hump day,...
2015-05-20
1,118 reads
We're a little under 3 weeks away from what is sure to be the biggest and best Big Apple SQLSaturday...
2015-05-13
649 reads
The Microsoft
MVP community is very excited to announce it’s very first 2015 Microsoft MVP
Virtual Conference (Microsoft V-Conf) coming to directly...
2015-05-12 (first published: 2015-04-09)
5,767 reads
Just heard
that today was T-SQL Tuesday #66! Well,
I knew it was Tuesday, and T-SQL comes into play once a month,...
2015-05-12
2,185 reads
Welcome to SQLSaturday #380 - Precons Announced!
In addition to the extraordinary extravaganza SQLSaturday NYC event we have planned for Saturday, May...
2015-04-17 (first published: 2015-02-11)
6,023 reads
April 1, 2015 – I am delighted to take part in the April
Fool’s Promotion by Publisher Apress, who are
featuring some of...
2015-03-31
1,574 reads
Greetings! If you are local, or in the NY/Central NJ area, mark you calendars for WED. MARCH 11, 2015 @ 6:00PM,...
2015-03-02
1,228 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...
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
Comments posted to this topic are about the item Answering Questions On Dropped Columns
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