Monday Coffee 2017-04-10
So SQLBits is over and I have to say that I really enjoyed attending on the Saturday, hopefully next year...
2017-04-10
175 reads
So SQLBits is over and I have to say that I really enjoyed attending on the Saturday, hopefully next year...
2017-04-10
175 reads
As this is being published I’m on my way up to Dublin airport to head on over to the UK...
2017-04-07
343 reads
As this is being published I’m on my way up to Dublin airport to head on over to the UK...
2017-04-07
146 reads
One of the questions that I was asked at SQL Saturday Iceland was “how can I view the filesystem within...
2017-04-05
466 reads
One of the questions that I was asked at SQL Saturday Iceland was “how can I view the filesystem within...
2017-04-05
172 reads
Last week Pass announced changes to how speakers are going to be selected for their annual conference (you can read...
2017-04-03
269 reads
Last week Pass announced changes to how speakers are going to be selected for their annual conference (you can read...
2017-04-03
137 reads
SQLBits is only a week away! But before that I’ve been reading…
Backing up SQL Server on Linux using Ola Hallengrens...
2017-03-31
561 reads
SQLBits is only a week away! But before that I’ve been reading…
Backing up SQL Server on Linux using Ola Hallengrens...
2017-03-31
419 reads
SQLServerCentral.com recently published my case study on how my company implemented Windows Containers running SQL Server to streamline our QA...
2017-03-29
1,638 reads
By Brian Kelley
I will be leading an in-person Certified Information Systems Auditor (CISA) exam prep class...
EightKB is back again for 2026! The biggest online SQL Server internals conference is...
By HeyMo0sh
Working in DevOps long enough teaches you two universal truths: That’s exactly why I...
Hi all, I just started using VS Code to work with DB projects. I...
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
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