Security is a Zero-Sum Game...
but I don't mean with respect to privacy. But I do mean with respect to the time it takes securing...
2009-08-11
708 reads
but I don't mean with respect to privacy. But I do mean with respect to the time it takes securing...
2009-08-11
708 reads
The other day a colleague and I were shadowing a vendor who was installing their 3rd party application on a...
2009-08-10
24,451 reads
2009 PASS Summit Trip Contest:
If you want an opportunity to win an all expenses paid trip to the PASS Summit,...
2009-08-07
805 reads
I've started a blog to write down and track my personal goals:
The Goal Keeping DBA
Since Active August is part of reaching my goal...
2009-08-01
1,118 reads
Thanks to Mike Walsh for really getting this started. Active August is similar to Fit February where folks endeavor to...
2009-07-28
997 reads
In IT security, we spend so much time trying to protect servers and computers on the wire (or on wireless)...
2009-07-21
1,252 reads
Every so often I run into a fellow DBA or database developer who isn't crystal clear on how file/folder and...
2009-07-16
5,991 reads
Recently, a fellow DBA showed me a set of documentation on a commercially available product. This is a product people...
2009-07-15
1,779 reads
I've been quiet as of late, pretty much ever since i went to Bethany Summer Youth Camp (BSYC) as a...
2009-07-15
743 reads
If you haven't heard, PASS is running a contest where you could win conference registration to this year's PASS Community...
2009-06-19
1,268 reads
By HeyMo0sh
Over time, I’ve realised that one of the hardest parts of cloud management isn’t...
By HeyMo0sh
One of the biggest challenges I’ve faced in cloud operations is maintaining clear visibility...
By Steve Jones
I come to Heathrow often. Today is likely somewhere close to 60 trips to...
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