Windows 8 First Impressions
I haven’t worked with Window 8 at all. I’m not a big beta tester, and it’s been a busy few...
2012-10-25
1,368 reads
I haven’t worked with Window 8 at all. I’m not a big beta tester, and it’s been a busy few...
2012-10-25
1,368 reads
There's a hole in the SQL Server platform. No log reader comes with the product and Steve Jones thinks Microsoft should build one and include it.
2012-10-24
414 reads
Today Steve Jones talks about the differences between development and production and how it can be good to spend a little doing the other type of work.
2012-10-23
118 reads
2012-10-22
87 reads
One of the issues that I see published often on forums like SQLServerCentral is the advice to update statistics on...
2012-10-22
9,572 reads
This Friday Steve Jones talks about training and employers, and who has the responsibility for your knowledge? Let us know if you think your employer shares the burden with you.
2012-10-19
331 reads
One of the things that I think is extremely important for DBAs and really anyone that has to administer a...
2012-10-18
2,422 reads
A mention today from Jamie Thomson in his blog on source control. I left a comment, but it was long,...
2012-10-18
1,602 reads
Steve Jones talks about the improvements in Hyper-V in Windows Server 2012. These days there isn't a good reason to avoid considering virtualization for SQL Servers.
2012-10-18
277 reads
There always seem to be more and more instances to manage, but not more and more staff. Steve Jones talks about the key to good management being delegation of the work.
2012-10-17
150 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