Reading in 2009
I saw a blog post from my friend Paul Randal recently in which he recounted the books he’d read in...
2010-01-31
1,765 reads
I saw a blog post from my friend Paul Randal recently in which he recounted the books he’d read in...
2010-01-31
1,765 reads
This Friday's poll deals with security. Steve Jones asks how often you might rotate those encryption keys to ensure that your systems are secure.
2010-01-29
150 reads
Arrogance has no place in assessing threats and attempting to build security to mitigate them.
2010-01-28
125 reads
In the end, that was what made the difference. I was typing along one night on my spare Acer and...
2010-01-28
868 reads
I’m not sure how this book got on my radar, but it turned out to be fairly interesting. It’s written...
2010-01-28
811 reads
Identity values are very useful, but there can be misconceptions about the way in which they work. One of the...
2010-01-27
996 reads
I finally ordered a new laptop, a Lenovo W510, that caught my eye. I was thinking the T series 510,...
2010-01-27
937 reads
Is the SAN administrator dying out as a job? Steve Jones comments on an article that suggests it might be.
2010-01-27
190 reads
I don’t know if they’re making them cheaper and shoddier or what, but it seems that I’m going through a...
2010-01-26
906 reads
I had to install WinZip the other day, having the need to unlock a .RAR file. There’s no native support...
2010-01-26
1,161 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