Leadership: A Name and A Principle
I’m actively working to put together the leadership course that I talked about here and here. No, not full time. I...
2015-08-11
508 reads
I’m actively working to put together the leadership course that I talked about here and here. No, not full time. I...
2015-08-11
508 reads
Get a better nameDefine my personal goals for the courseI won’t be sharing these with you. I may share them...
2015-08-07 (first published: 2015-07-28)
1,885 reads
I’m putting the finishing touches on the all day seminar on execution plans that I’ll be putting on at DevConnections this...
2015-08-06
928 reads
It’s time.
No more procrastinating. No more complaining about the process from the outside. No more excuses.
You have to run for...
2015-08-05
577 reads
Inspired by his visit to the battlefield of Waterloo, Grant Fritchey explains the dangers of doing things the way you've always done them and the need to challenge constantly your beliefs and understanding of how the technology you manage works.
2015-08-03
153 reads
I have, in the past, made way too much of the need for Actual Plans when doing performance troubleshooting. The...
2015-08-03
870 reads
Alternate Title: I’m traveling a bunch. Let’s get together and talk.
A bunch of trips and presentations coming up, so I...
2015-07-29
962 reads
That’s right. There’s been a divorce. SQL Server Management Studio (SSMS) has been divorced from the server product. In fact,...
2015-07-20
732 reads
You’ve been working as a DBA for X number of years. How do you know you’re good at it? Heck,...
2015-07-13
611 reads
I frequently see statements on forums along the lines of “I don’t have a test server, so I’m going to...
2015-07-10 (first published: 2015-07-06)
3,145 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