Can’t RDP to Azure VM?
I ran into an interesting problem early this month. I was spinning up an Azure VM with SQL Server 2016...
2016-04-18
556 reads
I ran into an interesting problem early this month. I was spinning up an Azure VM with SQL Server 2016...
2016-04-18
556 reads
2016-04-15
455 reads
Happy Tuesday . Here's the latest technology based blogs and articles I have been reading this week. Mainly SQL Server themed...
2016-04-12
386 reads
SQL Server 2005 is now out of support. I remember going to a SQL Server 2005 launch event at the...
2016-04-11
399 reads
I have been working nn an environment that had multiple copies of a database on the same SQL server instance....
2016-04-06
347 reads
Welcome to this weeks weekly round up of links, SQL Server and other news. Its been a busy week on...
2016-04-05
405 reads
With the release candidates coming thick and fast for SQL Server 2016 downloading, uninstalling the previous version and installing the...
2016-03-30
1,395 reads
This past weekend is one of my favourite holiday weekends - the 4 day Easter weekend 🙂 Although I have had to...
2016-03-29
610 reads
The agenda for this year’s SQLBITs has been published you can find it here http://sqlbits.com/information/event15/Agenda.aspx?20160507
Our very own David Postlethwaite has...
2016-03-24
390 reads
Here are some of the more interesting links that I have found this week
SQL Server
SQL Server 2016 RC1 has...
2016-03-21
450 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