2013-07-15
180 reads
2013-07-15
180 reads
It can be hard to take all your time off each year and Steve Jones is in that situation right now. However he reminds us that life is more important than work.
2013-07-12
147 reads
It’s just two weeks until my next trip. It feels like I just got back from London, and one again...
2013-07-12
986 reads
2013-07-12
2,320 reads
Test your restores: he first tip in my Hard Earned Lessons of a DBA piece.
I can’t emphasize this enough. I’ve...
2013-07-11
832 reads
Programming is an important skill, perhaps extremely important for the future. Steve Jones thinks that's true.
2013-07-10
303 reads
Reporting is an important skill for many data professionals. Steve Jones has a few things you might consider working on as a data professional.
2013-07-09
268 reads
It’s T-SQL Tuesday time again. This is the monthly blog party, started by Adam Machanic. If you’d like to participate,...
2013-07-09
1,080 reads
How you examine and approach a problem might have a large impact on how you solve it. Steve Jones notes that it's important that all of us look at the problem from the point of view of the customer, as well as our own view.
2013-07-08
84 reads
Is there a better way to put together a conference or event? Today Steve Jones speculates on how events are run and how we might change things.
2013-07-05
111 reads
By HeyMo0sh
Over time, I’ve realised that one of the hardest parts of cloud management isn’t...
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...
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