Conquering Kilimanjaro & Cancer !
Day 1 – Leaving for Africa
After almost 12 months of fundraising, training, walking up various mountains, sleepless nights and plenty of...
2011-02-08
467 reads
Day 1 – Leaving for Africa
After almost 12 months of fundraising, training, walking up various mountains, sleepless nights and plenty of...
2011-02-08
467 reads
SQL Server 11 (code-named “Denali”)
Heres the official MS speak:-
Microsoft SQL Server code-named “Denali” empowers organizations to be more agile in...
2011-01-06
463 reads
Ben Nevis – November 2010
Last major training trek before Kili !!
Was pretty cold up in Scotland………
2011-01-05
398 reads
I had stumbled across the free(!) Microsoft SQL Server 2008 R2 ebook, but I was also pointed in the direction...
2011-01-05
743 reads
Finally, after SQL Server 2005 SP3 was released Dec 2008, SP4 is now available for download.
To download visit Microsofts Download...
2011-01-05
665 reads
What uses have you found for sparse columns in your databases?
SPARSE columns is a new feature in SQL Server...
2010-10-31
2,595 reads
In almost 12 weeks time, I’m embarking on a challenge of a lifetime. I’m scaling Africas highest peak, Mount Kilimanjaro...
2010-10-19
461 reads
As I discussed in my first part of replication SQL Server 2008 Replication: High Availability Solution Part One, replication is...
2010-10-03
12,056 reads
This is the 2nd in the series of evaluations I have carried out on Idera’s SQL Server Toolbox. The first...
2010-09-06
1,325 reads
Idera SQL ToolBox
(http://www.idera.com/Products/SQL-toolbox/)
The datasheet for ToolBox – asks the question – Want an Easy way to save money? No manager is going...
2010-09-02
2,212 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