Speaking at the SQL PASS Summit 2014
The SQL PASSSummit 2014community sessions were recently released. I’m very pleased and honored to announce that I will be presenting a...
2014-06-30
1,014 reads
The SQL PASSSummit 2014community sessions were recently released. I’m very pleased and honored to announce that I will be presenting a...
2014-06-30
1,014 reads
This coming weekend is the SQL Saturday #293 in Portland, Maine with my precon on Friday. I am really looking forward to attending...
2014-06-25
440 reads
If you are running VMware vSphere 5.5 Update 1 and are using NFS-connected storage, update your hosts ASAP (test first,...
2014-06-12
634 reads
This coming weekend is the SQL Saturday #307 in Iowa City, Iowa. I am really looking forward to attending this event...
2014-06-04
455 reads
Ever since it was released, the vSphere Web Client is not the most responsive of web GUIs. After some digging,...
2014-05-12
425 reads
These last few weeks have been quite a blur of projects, travel, and end-user training, and I’m enjoying every bit...
2014-05-08
727 reads
I can’t believe it’s that time of year again. VMware has opened up the public voting for the VMworld 2014...
2014-05-06
733 reads
On Thursday, May 1st, I will be presenting a new webcast with Tegile Systems entitled “Easy SQL Server Benchmarking”.
Abstract: Do you have a new piece of...
2014-04-30 (first published: 2014-04-21)
1,411 reads
My company, Heraflux Technologies is proud to partner with Yucca Group to sponsor this year’s SQL Saturday Chicago, a free...
2014-04-16
956 reads
Today marks another installment in my ‘Smart Moves with SQL Server VMs’ blog post series. Today we are going to...
2014-04-10
960 reads
By Steve Jones
Finding duplicates was an interview question for me years ago, and I’ve never forgotten...
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...
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