IT Security Audit & Compliance Webinar Today (April 4) at 1 PM EDT
I’m speaking as part of a small panel for IT GRC Forum on keeping up your data security program in the...
2017-04-04
309 reads
I’m speaking as part of a small panel for IT GRC Forum on keeping up your data security program in the...
2017-04-04
309 reads
In conjunction with the webinar I gave last month for MSSQLTips, I’ve started an article series on application database security...
2017-03-17 (first published: 2017-03-06)
2,135 reads
Today at 3 PM EST I’m giving a webinar on designing a successful database security model with SQL Server.
Register Here for...
2017-02-23
441 reads
On Thursday, February 23rd at 3 PM EST I’m giving a webinar on designing a successful database security model with...
2017-02-21
350 reads
Networking with others is good for your career. You should do it. Don’t stop there. Keep going.
Networking builds contacts and...
2017-01-25
498 reads
A couple of weeks ago I received the disappointing but expected news that I wasn’t renewed as a Microsoft Data...
2017-01-02
439 reads
Today (December 14, 2016) at 12 PM Eastern I’m giving a webinar on preparing for your SQL Server farm for the...
2016-12-14
371 reads
Tomorrow (December 14, 2016) at 12 PM Eastern I’m giving a webinar on preparing for your SQL Server farm for...
2016-12-13
327 reads
It’s Thanksgiving again here in the United States. Throughout the years, the IT community has been awesome. I have been...
2016-11-24
404 reads
Recently I gave an introductory webinar on how to build an auditing framework for SQL Server. The focus was for...
2016-10-19
507 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