The Day-to-Day Tasks of the Average DBA
DBAs (Database Administrators) perform many different tasks, and one way to explain what a DBA is, is to describe the...
2011-12-08
2,071 reads
DBAs (Database Administrators) perform many different tasks, and one way to explain what a DBA is, is to describe the...
2011-12-08
2,071 reads
By Grant Fritchey
http://www.scarydba.com/
A DBA (Database Administrator) is a Data Professional tasked with managing an organization’s data using some sort of...
2011-12-07
2,255 reads
Part 1 of Question 13: The Question.Part 2 of Question 13: The follow up to the question.This is a continuation...
2011-12-07
619 reads
This is a continuation of my DBA in Space journal.
As this scene starts on Lunar Exhibition set, Miss Friday is...
2011-12-06
465 reads
Judging any contest is difficult, as you want to be as fair as possible. So coming up with the final...
2011-12-06
639 reads
Today, the final 15 competitors were announced at the DBA in Space website. To get into the final 15, the...
2011-12-06
932 reads
The voting for Red Gate Software’sDBA in Space Contest is to begin on Tuesday, December 6, after the final 15...
2011-12-06
689 reads
Part 1 of Question 11—The Question.Part 2 of Question 11:The follow up to the question.This is a continuation of my...
2011-12-05
683 reads
This is a continuation of my DBA in Space journal.
Alien Brad is not looking very well (more boils), or very...
2011-12-02
855 reads
This is a continuation of my DBA in Space journal.
Episode nine was filmed in the “Mars” exhibit. In this scene,...
2011-12-01
625 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