Gaining Speaker Experience Credentials, Part II
In a previous post I gave suggestions on how to get speaking credentials for consideration at a larger event, such...
2011-07-21
940 reads
In a previous post I gave suggestions on how to get speaking credentials for consideration at a larger event, such...
2011-07-21
940 reads
This is part of a series of tips on how bad/rogue admins can get access to the data in your...
2011-07-21
730 reads
Yesterday I posted about manipulating group membership to get access to a SQL Server. Today comes attack vector #2: stealing an...
2011-07-14
1,191 reads
This is a series of blog posts about how administrators can gain access to SQL Server, even if you try...
2011-07-13
1,874 reads
One of the things I saw on Twitter yesterday was several folks saying their abstract submissions had been turned down...
2011-06-16
1,889 reads
The emails came in today and 2 out of 4 of my sessions were selected. Both are the ones I...
2011-06-15
891 reads
Yesterday I talked about the importance of having a tested business recovery plan. If you didn't read yesterday's post, the...
2011-06-07
966 reads
Recently I was in one of those chain restaurants (the middle-priced, sit-down types) and shortly after we got there, we...
2011-06-06
1,899 reads
In recent weeks I've strayed pretty much all over the map with respect to topics. I have another blog, the...
2011-06-01
736 reads
As an infrastructure type person, I typically represent a "shared" resource. What that means is I'm not dedicated to just...
2011-05-13
18,851 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