2013-02-07
2,335 reads
2013-02-07
2,335 reads
Data Journalism is a new idea that is bringing us a new way of reporting on the world. Steve Jones thinks this might be useful inside of all kinds of organizations.
2013-02-06
94 reads
Last week I noted that I was speaking at the new SQL Intersection event. Hopefully I’ll see some of you...
2013-02-05
888 reads
There are a lot of advantages for small companies in using cloud services, but is that the case for large IT groups? Steve Jones has a few thoughts.
2013-02-05
174 reads
I installed Windows 8 recently and needed to activate it. I didn’t do this on the install since I didn’t...
2013-02-01
1,127 reads
It can be hard to analyze performance without a baseline. This week, Steve Jones asks how you might use your baseline to better determine what problems you are having with your SQL Server.
2013-02-01
717 reads
It’s not too hot, it can be fun, and after a full day of SQL Server learning, there are lots...
2013-02-01
1,231 reads
Microsoft is working on their generation 4 data centers, which might be a great idea for companies if they can implement a private cloud.
2013-01-31
167 reads
This weekend of SQL Saturday #183 in Albuquerque, NM. It’s the first SQL Saturday in that state, and it’s a...
2013-01-30
1,497 reads
Google has a new project to use a "database of everything" to help you learn more.
2013-01-30
198 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