Getting Security Vulnerability Information
Staying abreast of security vulnerability alerts can be a daunting task because there are so many each day. One source...
2009-08-12
1,161 reads
Staying abreast of security vulnerability alerts can be a daunting task because there are so many each day. One source...
2009-08-12
1,161 reads
but I don't mean with respect to privacy. But I do mean with respect to the time it takes securing...
2009-08-11
708 reads
The other day a colleague and I were shadowing a vendor who was installing their 3rd party application on a...
2009-08-10
24,451 reads
2009 PASS Summit Trip Contest:
If you want an opportunity to win an all expenses paid trip to the PASS Summit,...
2009-08-07
805 reads
I've started a blog to write down and track my personal goals:
The Goal Keeping DBA
Since Active August is part of reaching my goal...
2009-08-01
1,118 reads
Thanks to Mike Walsh for really getting this started. Active August is similar to Fit February where folks endeavor to...
2009-07-28
997 reads
In IT security, we spend so much time trying to protect servers and computers on the wire (or on wireless)...
2009-07-21
1,252 reads
Every so often I run into a fellow DBA or database developer who isn't crystal clear on how file/folder and...
2009-07-16
5,991 reads
Recently, a fellow DBA showed me a set of documentation on a commercially available product. This is a product people...
2009-07-15
1,779 reads
I've been quiet as of late, pretty much ever since i went to Bethany Summer Youth Camp (BSYC) as a...
2009-07-15
743 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