FUD Makes Security Harder
The US government’s illogical screeds against better personal encryption for data and communications is well documented. Then comes this reported...
2014-11-20
683 reads
The US government’s illogical screeds against better personal encryption for data and communications is well documented. Then comes this reported...
2014-11-20
683 reads
As a follow-up to my post on being at war, cyberwar:
State Department Hacked
If the experts are correct, this trend is...
2014-11-18
578 reads
In case you’ve not been following the news with regards to *government* breaches:
White House computers hacked – Russia suspectedUS Postal Service...
2014-11-13
752 reads
If you’re looking to warm up for the winter, come on down to Charleston, SC, on December 13, 2014. Charleston...
2014-11-12
647 reads
I’ve stated quite often that being a generalist has generally been beneficial for my IT career (pun intended). That’s why...
2014-11-13 (first published: 2014-11-06)
7,237 reads
I am consolidating my professional email accounts into one place. If you’ve previously contacted me using my linchpinpeople.com or either...
2014-10-21
528 reads
If you’re not familiar with the Center for Internet Security, here’s the organization’s mission statement:
The Mission of the Center for...
2014-10-20
868 reads
Here is my list of heroes for #TSQL2sday. None of them are directly tied to technology, much less SQL Server....
2014-10-14
542 reads
Thank you for those who made it out to the SQL Server Innovators Guild last night in Greenville, SC. I...
2014-10-08
601 reads
For those able to attend my session at this year’s Carolina Technology Conference, thank you! As promised, here are the...
2014-10-06
795 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