2011-08-05
308 reads
2011-08-05
308 reads
Steve Jones talks about the problems you might face when moving to cloud computing and the fact that you ought to be prepared to move at some point.
2011-08-04
160 reads
I was out of town for work one day, literally on the other side of the country, in a car...
2011-08-03
867 reads
Steve Jones talks about data science and the growing number of jobs that are available in this field.
2011-08-02
168 reads
I might send this to a VP or CIO: Global CIO: A Framework For Developing Technical Leaders. It’s an article...
2011-08-01
1,379 reads
Steve Jones talks about the problems of outages, and why we ought to perhaps introduce failure into our systems to help us learn to cope with them.
2011-08-01
78 reads
This Friday Steve Jones has a non-work related, but fun poll. Let us know what your geeky media recommendations are this year.
2011-07-29
143 reads
I saw this question come across Twitter under the #sqlhelp tag one day and was wondering myself. Someone suggested the...
2011-07-28
7,597 reads
Today Steve Jones tells you can implement telecommuting at your job and gives you a few ideas how to get it approved.
2011-07-28
239 reads
Steve Jones looks to the future of SQL Server and wonders if we ought to add a rowid to the internal structures.
2011-07-27
232 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