SQL Server Management Studio: Video Tutorial
SQL Server Management Studio is the all in one tool for developers and DBAs alike to work with SQL Server....
2017-07-25
455 reads
SQL Server Management Studio is the all in one tool for developers and DBAs alike to work with SQL Server....
2017-07-25
455 reads
In this video I talk you through installing SQL Server 2017 RC1 on Windows Server 2016 virtual machine. It’s a...
2017-07-24
453 reads
Introduction
By David Postlethwaite
Ensuring that your databases can survive a major outage such as a server failure and can continue to...
2017-07-14 (first published: 2017-07-03)
2,188 reads
By David Postlethwaite
Introduction
Dynamic data masking is a really useful new tool in SQL Server 2016. Keeping data safe is one...
2017-05-09
1,083 reads
By David Postlethwaite
Always Encrypted is new features in SQL Server 2016 and it is also available in Azure SQL Database....
2017-05-01 (first published: 2017-04-24)
15,958 reads
I received the email from Learning Tree on Wednesday with their weekly offer of courses running in the London Education...
2017-04-21
613 reads
I’ve been playing around with YouTube, making some tutorial videos on SQL Server and it’s been a fun process so...
2017-04-20
528 reads
Its been an interesting weekend at gethynellis.com I have been attempting to put together a SQL Server YouTubechannel. I’m planning...
2017-04-10
314 reads
At the end of March I wrote a couple of posts discussing the state of IT industry. It looked at...
2017-04-07
290 reads
In my previous post titled UK Budget 2017 –The Death Knell for Small Business? We scratched the surface in discussing...
2017-04-03 (first published: 2017-03-22)
1,815 reads
By Brian Kelley
I will be leading an in-person Certified Information Systems Auditor (CISA) exam prep class...
EightKB is back again for 2026! The biggest online SQL Server internals conference is...
By HeyMo0sh
Working in DevOps long enough teaches you two universal truths: That’s exactly why I...
Hi all, I just started using VS Code to work with DB projects. I...
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
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