Continuous Learning
In case you can’t tell from some of my blog posts, I’m a bit of an advocate for DevOps. I’m extremely fortunate in my employer, Redgate Software, that they...
2019-07-01
128 reads
In case you can’t tell from some of my blog posts, I’m a bit of an advocate for DevOps. I’m extremely fortunate in my employer, Redgate Software, that they...
2019-07-01
128 reads
It’s time for a little bit of change to occur. I am no longer a Product Evangelist for Redgate Software. No, they haven’t fired me and I haven’t quit....
2019-06-25
28 reads
I’ve been working in and around data for over 30 years now. My title has changed a number of times and is poised to change again. My responsibilities have...
2019-06-24
25 reads
In my last post I showed how you can create a volume with your container. I then showed a few things you can with a container using a volume....
2019-06-17 (first published: 2019-05-28)
232 reads
Creating a custom container is where things get truly exciting. There’s actually a ton of work and knowledge around this. To start with, I’m going to keep it simple....
2019-06-12 (first published: 2019-05-24)
430 reads
To my Data Family, Redgate Family, #SQLFamily, and Family Family:Thank you!I love you!Keep going!
The post My #SQLFamily appeared first on Grant Fritchey.
2019-06-10
14 reads
A question that comes up on the forums all the time: Which query used the most CPU. You may see variations on, memory, I/O, or just resources in general....
2019-06-03
31 reads
I spend a lot of time showing how to use tools to automate database deployments in support of DevOps. However, the one message that I always try to deliver...
2019-05-24 (first published: 2019-05-13)
295 reads
In the previous two posts on containers I showed how use Docker commands to get an image and create a container. This time, we’re going to create a container...
2019-05-23
18 reads
In yesterday’s blog post we pulled SQL Server images in preparation for today’s blog post where we create containers from those images. If you haven’t already, get Docker installed...
2019-05-22
41 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