Volunteers Needed For PASS SUMMIT
Last night I submitted my application to volunteer for the 2014 PASS Summit Program Committee.
Not know what PASS is? head...
2014-01-22
1,159 reads
Last night I submitted my application to volunteer for the 2014 PASS Summit Program Committee.
Not know what PASS is? head...
2014-01-22
1,159 reads
So, the end of 2013 is upon us and what a year it has been. The SQL Server 365 blog...
2013-12-31
1,152 reads
It's that time of year again, the annual PASS Summit is under way in Charlotte, NC!
For those of you who...
2013-10-17
1,072 reads
In this post we will look at a complete end to end routine for encrypting, storing, decrypting data in SQL...
2013-09-17 (first published: 2013-09-11)
3,861 reads
In this post we will look at 5 free tools that I use on a daily basis, I'll give a...
2013-09-05
1,289 reads
Following on from my previous post on triggers, I had made a mental note to make sure I did a...
2013-08-30 (first published: 2013-08-26)
2,502 reads
Have you ever spent hours looking at an issue only to have your investigation hindered by a trigger? I know...
2013-08-20
1,168 reads
Windows Failover Clusters are fantastic, they provide High Availability for mission critical SQL Server instances and make my life as...
2013-08-19 (first published: 2013-08-09)
2,817 reads
Over the years I have been fortunate or unfortunate enough, depending on who you are to have experienced several disasters...
2013-07-26
1,050 reads
So this week was another first for me, I finally bit the bullet and gave a talk at the Leeds...
2013-07-25
753 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...
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
Comments posted to this topic are about the item Answering Questions On Dropped Columns
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