A Lesson from My Air Force Days
Yup, you guessed it, another post about the nominations for the PASS Board of Directors. If you're tired of reading...
2010-08-19
1,002 reads
Yup, you guessed it, another post about the nominations for the PASS Board of Directors. If you're tired of reading...
2010-08-19
1,002 reads
Have you registered for the 24 Hours of PASS (September 15-16) yet?
Tuesday
SQL Lunch - Policy Based Management in a Nushell - Jorge...
2010-08-14
838 reads
SQL Saturday #48 - Columbia, SC, is a little over 7 weeks away (October 2, 2010), so we're picking up the...
2010-08-11
530 reads
Things have worked out where I'll be able to hit a SQL Saturday for this month and each of the next...
2010-08-09
600 reads
On Monday, Microsoft released an out-of-band security patch to address the .LNK vulnerability. This affects Windows XP, including Windows XP...
2010-08-06
688 reads
Monday
SQL Lunch - SSIS Design Patterns 1a: Introduction to SSIS Design Patterns - Andy Leonard
Tuesday
PASS Application Development Virtual Chapter - Where the bl**dy...
2010-08-06
1,219 reads
I'm mostly working now supporting the building of SSIS packages for ETL. And on one particular project we've been making heavy...
2010-08-06
753 reads
Topic: Creating a SQL Server Utility Environment
Can SQL Server be offered as a service (SQLaaS)? Can SQL Server be treated like...
2010-08-05
773 reads
Cross-posted from The Goal Keeping DBA blog.
I'm making an earnest effort to work through Getting Things Done in an effort...
2010-08-05
749 reads
Tuesday
PASS Performance Virtual Chapter - Parallelism and Performance - Are You Getting Full Return on Your CPU Investment? - Adam Machanic
Thursday
SQL Lunch - Analysis...
2010-07-30
1,576 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