Pensacola Results
A week ago I spoke at the Pensacola SQLSaturday event to about 30 people. A few drifted in late, so...
2009-06-15
918 reads
A week ago I spoke at the Pensacola SQLSaturday event to about 30 people. A few drifted in late, so...
2009-06-15
918 reads
There’s a contest going on at PASS looking for answers to “Best Thing I Learned at PASS”. I don’t want...
2009-06-15
1,064 reads
Recent installments of our series dedicated to the most prominent features of SQL Server 2005 Express Edition have discussed its reporting capabilities. This article illustrates another approach to generating reports, relying on the Report Server Project template, which offers a considerably wider range of flexibility than its wizard-driven counterpart does.
2009-06-15
2,467 reads
Why can't it be easy for someone to tackle small projects? It is in some areas, and Steve Jones talks a little about some of the issues.
2009-06-15
414 reads
Why can't it be easy for someone to tackle small projects? It is in some areas, and Steve Jones talks a little about some of the issues.
2009-06-15
447 reads
Why can't it be easy for someone to tackle small projects? It is in some areas, and Steve Jones talks a little about some of the issues.
2009-06-15
703 reads
Steve Jones asks this Friday if there is anything you wish you might have done differently.
2009-06-12
93 reads
I study karate on a regular basis, and over the years I've practiced a number of different martial arts, most...
2009-06-12
688 reads
The Exceptional DBA award is back again in 2009. Steve Jones comments a little on his experience last year.
2009-06-12
1,034 reads
The Exceptional DBA award is back again in 2009. Steve Jones comments a little on his experience last year.
2009-06-12
1,024 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