Get Started with Windows Azure SQL Database
Learning new things can be daunting. First, you have to come up with the spare time. Then you have track...
2013-08-27 (first published: 2013-08-22)
2,428 reads
Learning new things can be daunting. First, you have to come up with the spare time. Then you have track...
2013-08-27 (first published: 2013-08-22)
2,428 reads
This book shows how to use of mixture of home-grown scripts, native SQL Server tools,
and tools from the Red Gate SQL Toolbelt, to successfully develop database applications in a team environment,
and make database development as similar as possible to "normal" development.
2013-08-26
4,748 reads
Not a big deal really, but they’re consolidating from the SQLCAT.COM to put everything on MSDN.
Read all about it here.
I...
2013-08-23
724 reads
I’ve been at home through the whole month of August, restingworking hard, but it’s time to get on the road...
2013-08-21
863 reads
My laptop is out for repair. I’m working currently on a Surface Pro instead. It’s spurred me to do something...
2013-08-19
804 reads
I’ve heard over and over again that the reason people don’t want to learn Azure, to explore it, to understand...
2013-08-15
750 reads
If you missed the 24 Hours of PASS Summit 2013 Preview, you missed some excellent sessions. I watched a few,...
2013-08-13 (first published: 2013-08-07)
1,238 reads
If you asked me, prior to today, if I would type or say those words, I would have laughed right...
2013-08-12
742 reads
I recently posted some comments about some guidance offered by Microsoft when talking about the CXPACKET wait type. Nothing I...
2013-08-07
675 reads
Guidance is hard.
Seriously, you’d think it would be easy. You’d think you say things like, don’t shrink your database, most...
2013-08-05
2,325 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