Excel as a Database Professional
People ask me all the time how to become a DBA. This is a topic that so many colleagues of
mine...
2015-09-24
2,148 reads
People ask me all the time how to become a DBA. This is a topic that so many colleagues of
mine...
2015-09-24
2,148 reads
PearlKnows WeB log, Stardate 2015.9.8: This week’s topic is strategies for
managing an enterprise, brought to us by one half of...
2015-09-08
3,110 reads
We have another great 1-DAY training workshop coming to New York City at MS NYC HQ 11 Times Square on...
2015-08-20 (first published: 2015-08-11)
1,564 reads
Below is the original article in its entirety, that was published on the Americas MVP Community Facebook page, on July...
2015-08-20
1,415 reads
Tomorrow Wednesday, August 12, 2015 at 6PM EDT, my friend and SQL MVP colleague, Edwin Sarmiento will be in town...
2015-08-11
1,181 reads
Coming this Saturday, upstate rules, the official capitol of New York State is #SQLSat386, in Albany! Check out their event...
2015-07-23
1,063 reads
PASS HEADQUARTERS:
The PASS Performance Virtual Chapter’s 2015 Performance Palooza is
tomorrow starting at 10AM Central Time! This event will feature...
2015-07-22
1,222 reads
Happy T-SQL Tuesday,
July 14, 2015! (I have been time traveling, and now back on this continuum ;-) @SQLBek, Andy Yun, has...
2015-07-22 (first published: 2015-07-07)
2,654 reads
Kicking off the SQLSaturday#410 event down in Chattanooga, Tennessee, is the Pre-Con event Tune Like a Guru, by SQLGuru Kevin...
2015-06-25
975 reads
June 13, 2015 - SQLSat379: Just wanted to make mention of the upcoming SQLSaturday#379 down in South Florida, it will be...
2015-06-11
1,009 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...
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