2023-01-25
382 reads
2023-01-25
382 reads
Today’s coping tip is to be gentle with yourself when you make mistakes. I forgot about a commitment. I had agreed to do a webinar and prepare some content....
2023-01-25
7 reads
Facebook isn't sure where all your personal data is stored. Are you sure your organization is any different?
2023-01-25
105 reads
Today’s coping tip is to get outside and notice five beautiful things. I decided to do this on a snowy, stormy day in Denver. I was up early with...
2023-01-24
9 reads
Today’s coping tip is to eat healthy today with some nourishing food. A few days before think I was getting ready for my daughter to leave for university. I...
2023-01-23
13 reads
Removing data from your systems isn't as easy as you might think. It is especially important to be aware when you are doing this for compliance.
2023-01-23
209 reads
This post looks at how to set up a PostgreSQL container on Windows using Docker for Windows. I’ve seen a few posts, but I had to cobble together some...
2023-01-20 (first published: 2023-01-09)
318 reads
Today’s coping tip is to take a different route today and see what you notice. I’ve had this tip come up a few times and each time I’ve enjoyed...
2023-01-20
15 reads
2023-01-20
166 reads
Culture is important retaining employers. Companies are finding this more valuable every day.
2023-01-20 (first published: 2023-01-07)
220 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