Are You Still Using Portable Drives?
Steve realizes that he doesn't use physical storage anymore for transferring data.
2022-12-19 (first published: 2022-12-16)
163 reads
Steve realizes that he doesn't use physical storage anymore for transferring data.
2022-12-19 (first published: 2022-12-16)
163 reads
Today’s coping tip is to give kind comments to as many people as possible today. Not an easy tip for me to follow as I’ve been a little home...
2022-12-19
11 reads
Today’s coping tip is to send a gift to someone new. I have been sending gifts to my daughter at college every month or so, but I decided I...
2022-12-16
15 reads
2022-12-16
376 reads
Today’s coping tip is to support a charity or cause you care about. My big causes are food, housing, and education for those that are struggling. I like to...
2022-12-15
19 reads
Today’s coping tip is to offer to help someone who is facing difficulties now. I’ve been very lucky in life. I find that success often has me associating with...
2022-12-14
15 reads
2022-12-14
475 reads
It's time to look at an instance upgrade for SQL Server Central. Or is it? Steve shares some thoughts about the process and decision making.
2022-12-14
303 reads
Today’s coping tip is to contact someone you can’t be with to see how they are. Maybe the one thing the pandemic did for me is make me think...
2022-12-13
15 reads
2022-12-13 (first published: 2022-12-02)
472 reads
By HeyMo0sh
Working in DevOps long enough teaches you two universal truths: That’s exactly why I...
By Steve Jones
Finding duplicates was an interview question for me years ago, and I’ve never forgotten...
By HeyMo0sh
Over time, I’ve realised that one of the hardest parts of cloud management isn’t...
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