2023-03-20 (first published: 2023-03-17)
610 reads
2023-03-20 (first published: 2023-03-17)
610 reads
Thanks to everyone that came to my talk at SQL Bits. Powerpoint here for download. If you have questions, reach out.
2023-03-19 (first published: 2023-03-18)
16 reads
Today’s coping tip is to eat mindfully. Appreciate the taste, texture, and smell of your food. I am not a big foodie. I’ve been to some cool dinners with...
2023-03-17
10 reads
Today’s coping tip is to take three calm breaths at regular intervals during the day. I had to travel recently, crossing time zones and moving between planes, trains, and...
2023-03-16
12 reads
Are you a good writer? You should be. Steve Jones notes that communication skills are not only important, but that poor ones can set you apart in a way you might not like.
2023-03-15 (first published: 2014-01-20)
329 reads
Today’s coping tip is to slow down if you find yourself rushing too often. The modern world encourages rushing around. We try to do so many things, get to...
2023-03-15
12 reads
2023-03-15
393 reads
Today’s coping tip is to notice how you speak to yourself and choose to use kind words. I was downtown recently for a few days with my wife, staying...
2023-03-14
10 reads
Today’s coping tip is to start today by appreciating your body and that you’re alive. I greatly appreciate my body today. I had a long weekend, with a lot...
2023-03-13
8 reads
I may try to blog, but I know this is a busy week. I’m leaving today for England and SQL Bits. Actually I fly to London and then spend...
2023-03-13
18 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