ApexSQL SQL Server VIP/MVP Offer
ApexSQL has an offer to anyone who is a SQL Server MVP or VIP for a gratuity of their ApexSQL...
2006-11-29
1,741 reads
ApexSQL has an offer to anyone who is a SQL Server MVP or VIP for a gratuity of their ApexSQL...
2006-11-29
1,741 reads
I saw this today on my Google front page under the How To section:
How to Calculate Pi by Throwing Frozen...
2006-11-29
1,624 reads
It wasn't too long ago that Mark Russinovich announced he was becoming a Microsoft employee (new link as his old...
2006-11-27
1,684 reads
I first saw this at SQL Server MVP Jasper Smith's blog post Which database is more secure? Oracle vs. Microsoft:
NGSSoftware...
2006-11-25
1,704 reads
One of the blogs I follow is Andrew Coates' blog over at MSDN. He has posted about starting to help...
2006-11-21
1,456 reads
I've read numerous posts and several blogs discussing the SQL Server Central sale to Red Gate and at the end...
2006-11-20
1,631 reads
The Community Technology Preview (CTP) version SQL Server 2005 SP2 has been released by Microsoft. You can find the download...
2006-11-08
1,975 reads
Recently I started getting back into the game of chess as I began coaching my boys. Chess is a great...
2006-11-02
1,687 reads
It has been a trying month to month and a half with the implementation of Microsoft's CRM 3.0 product. By...
2006-10-30
1,373 reads
I've been rather quiet for a while and there's a reason. I've been
helping some friends get a general gaming site...
2006-09-22
1,505 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