Anyone want to handle this?
I get a lot of email at SQLServerCentral.com on a variety of topics. Complaints about my writing, comments on the...
2005-12-14
1,449 reads
I get a lot of email at SQLServerCentral.com on a variety of topics. Complaints about my writing, comments on the...
2005-12-14
1,449 reads
Had a need for this the other day. We just needed a quick dump of which
drives each database was using....
2005-12-09
1,370 reads
I wrote a little in the editorial, but I wanted to drop some other observations here.
First, apologies for not blogging...
2005-12-07
1,437 reads
I saw this first on Karen Watterson's blog. Microsoft has released an update to SQL Server 2005's Books Online:
Download
A quick...
2005-12-07
1,461 reads
Maybe not certified, but I took the 70-441 test today and I thought it was relatively easy. The format was...
2005-12-02
1,369 reads
Slowly reworking my professional site at http://www.truthsolutions.com/
but as of right now it's more of a brochure site than anything else....
2005-11-30
1,286 reads
I wrote an editorial on the 64-bit decision by Exchange to not release
their next version in 32 bit. Only 64....
2005-11-29
1,435 reads
SQL Server MVP Erland Sommarskog has announced
a name change to MSSQL::OlleDB. It's now known as Win32::SQLServer.
This is to bring it...
2005-11-27
1,342 reads
Looked over at the Apex SQL site and noticed they released a new
version of ApexSQL Edit last weekend. I went...
2005-11-26
1,509 reads
In writing an article for SQL Server Standard's January issue, I received a tech edit comment from Adam Machanic
about a...
2005-11-25
1,491 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