Beginner Sessions at SQL Saturday #70 - Columbia, SC
A very good question was asked about the SQL Saturday #70 session track, and that's "What courses are best suited...
2011-03-15
856 reads
A very good question was asked about the SQL Saturday #70 session track, and that's "What courses are best suited...
2011-03-15
856 reads
This came up on Twitter last night and if you're not very strong on networking, this can be really confusing....
2011-03-10
13,416 reads
I follow the blog of Johnny Long (twitter) from time-to-time, especially as he chronicled his work in Uganda. I know...
2011-03-09
806 reads
The Call for Speakers for SQL Saturday #70 - Columbia, SC, ended on February 17, 2011. We wanted to put the...
2011-02-25
1,651 reads
Andy Warren (blog | twitter) recently blogged about wanting input on What Should PASS Be? and I think it's a reasonable...
2011-02-24
1,491 reads
I've been on both sides of the debate with respect to whether or not to install antivirus software on a...
2011-02-24
3,387 reads
Over on the ERC forums, Bill Graziano (blog | twitter) has posted the proposed NomCom selection process. We would really like...
2011-02-23
602 reads
My introductory text to SQL Server, appropriately titled Introduction to SQL Server, is now in print and available for sale. The...
2011-02-22
953 reads
In recent days I've seen folks try to recreate functionality when they had access to code that already did effectively the...
2011-02-21
1,975 reads
As announced, we have posted our session schedule for SQL Saturday #70 - Columbia, SC. The event will be March 19, 2011...
2011-02-19
1,272 reads
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...
By Brian Kelley
If your organization is spending money, then meaningful results are a must. Pen testing...
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