A Tale of Four Laptops
With the release of the 22nm Ivy Bridge microarchitecture less than three weeks away, at the end of April 2012,...
2019-04-02 (first published: 2012-04-10)
3,194 reads
With the release of the 22nm Ivy Bridge microarchitecture less than three weeks away, at the end of April 2012,...
2019-04-02 (first published: 2012-04-10)
3,194 reads
I get a lot of e-mail and Twitter requests for advice about what laptop someone should buy. I don’t mind...
2019-04-02 (first published: 2012-08-11)
2,264 reads
Intel has finally released the 22nm Xeon E5-2600 v2 Family (Ivy Bridge-EP) of processors that will be used in two-socket...
2019-04-02 (first published: 2013-09-18)
5,537 reads
Even though SQL Server 2005 fell out of Mainstream Support back in April of 2011, I know many people are...
2019-04-02 (first published: 2012-05-04)
2,364 reads
Here is the latest version of my SQL Server 2008 Diagnostic Information Queries, with some minor tweaks and improvements, including...
2019-04-02 (first published: 2012-06-11)
3,068 reads
Since the final RTM release of SQL Server is getting ever closer, I thought it was a good time to...
2019-04-02 (first published: 2011-12-19)
3,642 reads
Even though SQL Server Database Mirroring is deprecated in SQL Server 2012, it is still a very useful HA/DR technique...
2019-04-02 (first published: 2012-03-12)
6,592 reads
I made some small improvements to a few of the queries this month. I plan to add several more SQL...
2019-04-02 (first published: 2014-04-18)
4,343 reads
I have gone through and made some minor updates and bug fixes for all of my SQL Server Diagnostic Information...
2019-04-02 (first published: 2013-08-09)
3,605 reads
As we get closer to the end of mainstream support for both SQL Server 2008 and SQL Server 2008 R2...
2019-04-02 (first published: 2014-01-27)
2,470 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