SQL Server security webinar now available on-demand
Last week I was able to give a SQL Server security webinar with Quest Software and SQL Server MVP Kevin...
2011-11-08
1,166 reads
Last week I was able to give a SQL Server security webinar with Quest Software and SQL Server MVP Kevin...
2011-11-08
1,166 reads
Tom asks what #SQLFamily means to me. This is a hard one, not because of what #SQLFamily does for me,...
2011-11-07
1,723 reads
I have the privilege of being able to give a webinar tomorrow, November 3, at 11 AM EDT. It will...
2011-11-02
1,087 reads
I have the privilege of being able to give a webinar next Thursday, November 3, at 11 AM EDT. It...
2011-10-28
1,007 reads
Welcome back to both our Kerberos coverage and to another topic for SQL University's Security and Auditing Week. In today's...
2011-10-28
16,144 reads
Welcome to Security week at SQL University. I apologize for the late start. However, if you want to do some...
2011-10-27
2,954 reads
The majority of the time, the problems I see with Kerberos are due to a bad SPN (Service Principal Name)...
2011-10-18
4,057 reads
A get a lot of questions where I work about Kerberos and how it works for SQL Server, whether we're...
2011-10-17
4,320 reads
On Tuesday, October 18, 2011, I will be speaking at the Carolina Technology Conference in Columbia, SC. I'm scheduled for...
2011-10-14
1,407 reads
If you're not familiar with Chotto matte kudasai, it means "A moment, please," in Japanese. The cloud is big news....
2011-10-14
1,209 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