Six Trips
Six trips left to close out this year. Most are very short, so that’s good, but still, it’s a bunch...
2010-09-03
319 reads
Six trips left to close out this year. Most are very short, so that’s good, but still, it’s a bunch...
2010-09-03
319 reads
An update to the Microsoft Best Practices Analyzer tool intrigues Steve Jones as it seems to have been enhanced to better help DBAs manage SQL Server.
2010-09-02
152 reads
A few short bloopers, just for a few friends that fly planes.
YouTube Link (in case the embed fails)
2010-09-02
534 reads
I try to carry a camera, and a video camera, most of the time when I’m traveling. I have a...
2010-09-02
372 reads
I’ve been trying to work on some new presentations so that I have a variety, including some spares, when I...
2010-09-01
4,399 reads
Today Steve Jones has a little fun with titles in technology, and what we might start to call ourselves instead of DBAs.
2010-09-01
250 reads
According to Conor Cunningham, it doesn’t.
I have heard that there are issues in the optimizer, and to be sure, there...
2010-08-31
1,829 reads
Steve Jones talks about the SQL Community and why it's so great. Hint: it's the people.
2010-08-30
174 reads
There are some progressive companies out there, and I think they are doing some very interesting things with how they...
2010-08-30
1,566 reads
A great new project kicked off by MVP Arnie Rowland is available to people out there struggling with their careers, but looking to continue to grow them.
2010-08-30
232 reads
By HeyMo0sh
One of the biggest challenges I’ve faced in cloud operations is maintaining clear visibility...
By Steve Jones
I come to Heathrow often. Today is likely somewhere close to 60 trips to...
By Brian Kelley
If your organization is spending money, then meaningful results are a must. Pen testing...
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
Comments posted to this topic are about the item Answering Questions On Dropped Columns
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