SQL Saturday DC Lessons Learned – Humility, Paying it Forward, and Dedication
This past weekend I attended SQL Saturday #233 in Washington DC. I presented a session this year titled “Backup and...
2013-12-09
560 reads
This past weekend I attended SQL Saturday #233 in Washington DC. I presented a session this year titled “Backup and...
2013-12-09
560 reads
Alright, I’ve got your attention. You’re probably thinking “who is this crazy guy that is using the word Love with...
2013-12-02
556 reads
It’s that time of the year again when SQL Saturday makes its way back to the Washington DC Area. Here...
2013-11-18
588 reads
The SQL Server Live! Conference in Orlando is between November 18-22, 2013. There is a discount code provided for those...
2013-10-28
713 reads
About a month ago I started a competition (hosted by the event organizers) to give away a free pass to...
2013-10-16
467 reads
For those of you that attended yesterday and are interested in the slides, you can download them here. Thanks! Topic:...
2013-10-11
741 reads
People are always concerned about Security when it comes to their data. I don’t blame them, I love keeping my...
2013-10-02
727 reads
If you’re in the DC/Baltimore area, or just feel like coming to DC to learn about SQL Server, please join...
2013-09-24
518 reads
Want a free pass to the SQL Server Live! conference in Orlando this year? Look no further, here is your...
2013-09-16
653 reads
The SQL Server Live! Conference in Orlando is between November 18-22, 2013. There is a discount code provided for those...
2013-08-07
655 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