Beer, Cheese and SQL Saturday 118 Madison
This past weekend I (w|t) headed up to Madison, WI to attend and present at SQL Saturday 118. The MADPASS...
2012-04-26
984 reads
This past weekend I (w|t) headed up to Madison, WI to attend and present at SQL Saturday 118. The MADPASS...
2012-04-26
984 reads
Calling all SQL peeps in Chicago, Milwaukee, St. Louis, Minneapolis, Omaha,…!
It’s time for another SQL Saturday at the beautiful University...
2011-09-28
715 reads
Calling all SQL peeps in Chicago, Milwaukee, St. Louis, Minneapolis, Omaha,…! It’s time for another SQL Saturday at the beautiful University of Iowa campus. The speaker lineup looks great....
2011-09-28
10 reads
This is my PowerShell presentation that I have given to both Chicago SQL Server User Groups. The name of the...
2011-04-17
959 reads
This is my PowerShell presentation that I have given to both Chicago SQL Server User Groups. The name of the presentation is having some fun with the old quote,...
2011-04-17
18 reads
Yes, this looks familiar. Didn’t I write this last week? Well it’s new and the same. We have another pre-con...
2011-03-09
961 reads
Yes, this looks familiar. Didn’t I write this last week? Well it’s new and the same. We have another pre-con available on the Friday, 3/25, before SQL Saturday 67....
2011-03-09
11 reads
We have big news for SQL Saturday #67 Chicago. There is going be a pre-con on Friday 3/25 at the...
2011-02-22
937 reads
We have big news for SQL Saturday #67 Chicago. There is going be a pre-con on Friday 3/25 at the Hampton Inn right around the corner from the SQL...
2011-02-22
19 reads
In the final installment of the Getting Drive Info series (Part 1, Part 2, Part 3, Part 4), SSIS will...
2010-12-04
1,888 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