Running a SQL Server Azure Container Instance in a virtual network
Up until now Azure Container Instances only had one option to allow us to connect. That was assigning a public...
2018-10-04
346 reads
Up until now Azure Container Instances only had one option to allow us to connect. That was assigning a public...
2018-10-04
346 reads
If you’ve been anywhere near social media this week you may have seen that Microsoft has announced SQL Server 2019.
I...
2018-10-04 (first published: 2018-09-25)
4,421 reads
It’s been a couple of weeks now since I took the plunge and bought myself a Dell XPS 13 running...
2018-08-10
302 reads
I recently bought a Dell XPS 13 running Ubuntu 16.04 and ran into an issue when connecting SQL Operations Studio...
2018-08-06
711 reads
And the results of the poll are in!
Evening just scraping it! So there’s a pretty even mix out there, interesting....
2018-08-03
235 reads
I am not a morning person. I’ve really tried but there’s something in me that just stops me from getting...
2018-07-30
309 reads
Phew, I’m not going to complain about the hot weather…I’ll miss it when it’s gone.
Linux Load Averages: Solving the Mystery
Good...
2018-07-27
331 reads
EDIT – 2018-10 – ACR Build is now known as ACR Tasks
In Part One I detailed how we can use ACR Build...
2018-08-09 (first published: 2018-07-25)
1,516 reads
I’m a Windows guy.
Kinda have had to be, given my profession as a SQL Server DBA. But recently I’ve become...
2018-07-23
305 reads
Haven’t posted one of these for a while! It’s good to have some time back to be able to read/write.
I’ve...
2018-07-20
334 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