Measuring pi by throwing frozen hot dogs?
I saw this today on my Google front page under the How To section:
How to Calculate Pi by Throwing Frozen...
2006-11-29
1,624 reads
I saw this today on my Google front page under the How To section:
How to Calculate Pi by Throwing Frozen...
2006-11-29
1,624 reads
It wasn't too long ago that Mark Russinovich announced he was becoming a Microsoft employee (new link as his old...
2006-11-27
1,684 reads
I first saw this at SQL Server MVP Jasper Smith's blog post Which database is more secure? Oracle vs. Microsoft:
NGSSoftware...
2006-11-25
1,704 reads
One of the blogs I follow is Andrew Coates' blog over at MSDN. He has posted about starting to help...
2006-11-21
1,455 reads
I've read numerous posts and several blogs discussing the SQL Server Central sale to Red Gate and at the end...
2006-11-20
1,631 reads
The Community Technology Preview (CTP) version SQL Server 2005 SP2 has been released by Microsoft. You can find the download...
2006-11-08
1,975 reads
Recently I started getting back into the game of chess as I began coaching my boys. Chess is a great...
2006-11-02
1,687 reads
It has been a trying month to month and a half with the implementation of Microsoft's CRM 3.0 product. By...
2006-10-30
1,373 reads
I've been rather quiet for a while and there's a reason. I've been
helping some friends get a general gaming site...
2006-09-22
1,505 reads
I've not been posting over the last week because I'm in the midst of a
two week vacation, the first I've...
2006-09-01
1,458 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