PASS Community And Mentorship
Mentorship is the influence, guidance, or direction given by a mentor as defined by Webster’s dictionary. I believe it involved a little more than that. It also involves investing...
2019-04-01
3 reads
Mentorship is the influence, guidance, or direction given by a mentor as defined by Webster’s dictionary. I believe it involved a little more than that. It also involves investing...
2019-04-01
3 reads
Mentorship is the influence, guidance, or direction given by a mentor as defined by Webster’s dictionary. I believe it involved a little more than that. It also involves investing...
2019-04-01
4 reads
I often get emails asking the same time of questions about the setup of Telegraf for SQL Server and Windows...
2019-03-13
487 reads
I’ve worked for SaaS companies for the last 6 years or so. So our queries are largely the same across...
2019-02-20
194 reads
This month for T-SQL Tuesday we are asked to describe our “Why”. I have a couple of Whys not related...
2019-02-12
677 reads
Rough Year, But 50 Kids, Can’t Beat That!
Last year was a pretty rough year personally. I totaled two cars, not...
2019-01-04
145 reads
In the past 5 months I have started two different jobs, so that leaves it up in the air as...
2018-12-07 (first published: 2018-11-26)
3,084 reads
Wow! The last five years of my career have been amazing. I went from attending a SQLSaturday a couple of...
2018-10-24
246 reads
Sorry readers, I was having some many adventures there was no June edition. In May, I had SQLSaturday Dallas where...
2018-07-02
447 reads
Sorry readers, I was having some many adventures there was no June edition. In May, I had SQLSaturday Dallas where...
2018-07-02
62 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