Resources from the PASS community this coming month
Even though it is December, I noticed a lot going on for FREE in the PASS Microsoft Data Technology community....
2017-11-30
605 reads
Even though it is December, I noticed a lot going on for FREE in the PASS Microsoft Data Technology community....
2017-11-30
605 reads
The IT Dev Connections conference was in San Francisco, CA this week. While I did not spend any time as...
2017-10-25
387 reads
The IT Dev Connections conference was in San Francisco, CA this week. While I did not spend any time as a tourist, I did mingle with attendees and speakers....
2017-10-25
8 reads
I recently was testing DirectQuery to see the reporting differences in a Tabular Model. After Deploying to a development server and analyzing in Excel, the hierarchies for the Date...
2017-09-29
78 reads
I recently was testing DirectQuery to see the reporting differences in a Tabular Model. After Deploying to a development server...
2017-09-28
878 reads
The PASS board elections are coming up and there is a twitter chat event to ask questions to the candidates before you vote. Both tweeter events will be on...
2017-09-13
8 reads
The PASS board elections are coming up and there is a twitter chat event to ask questions to the candidates...
2017-09-12
504 reads
Please visit SQLShack.com for new articles on many facets of SQL Server. I have been trying my best to document how to create SQL Server Analysis Service databases with...
2017-08-17
25 reads
Please visit SQLShack.com for new articles on many facets of SQL Server. I have been trying my best to document...
2017-08-16
741 reads
Come join around 500+ attendees and speakers learning and networking at the LSU College of Business – Business Education Complex on...
2017-07-21
523 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