Security is Improving
Today Steve Jones notes that security is improving at many web sites. It's not great, but it's improving. That's a good sign, or is it?
2012-07-23
114 reads
Today Steve Jones notes that security is improving at many web sites. It's not great, but it's improving. That's a good sign, or is it?
2012-07-23
114 reads
This Friday Steve Jones talks performance reviews. The system in place at Microsoft is a tough one, which allows some to thrive, and some not to. Is it one you'd like to have in place?
2012-07-20
219 reads
If you would like a mentor, we’ are taking applications at The Mentoring Experiment. We ran this last year and...
2012-07-20
1,154 reads
In doing some additional testing on contained databases, I decided to create a new database on a new test VM.
CREATE...
2012-07-19
2,151 reads
If you got some with me at SQL in the City last week I London, or anytime in the last...
2012-07-19
1,062 reads
An interesting reuse of technology in a completely new way caught Steve Jones' eye. See if you agree that this is rather amazing.
2012-07-19
148 reads
Today Steve Jones talks about one of his pastimes: reading. He recommends you read more, and share the books you enjoy.
2012-07-18
243 reads
It’s a wrap. Two days of SQL in the City are complete, and I’m back at home, almost feeling normal....
2012-07-18 (first published: 2012-07-16)
3,071 reads
Today Steve Jones complains a bit about time zone support in SQL Server and why it seems so cumbersome. Shouldn't it be easier in 2012?
2012-07-17
307 reads
It’s T-SQL Tuesday time again, delayed a week this month, so I had a whole extra week to get ready....
2012-07-17
1,374 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