Identity Issues
Have you ever received the following Error when developing your ETL or working with data cleanup?
Msg 544, Level 16, State...
2009-11-06
358 reads
Have you ever received the following Error when developing your ETL or working with data cleanup?
Msg 544, Level 16, State...
2009-11-06
358 reads
Looking forward to a great Tamp Code Camp tomorrow. My first code camp. I’ve had some great experiences at the...
2009-11-06
409 reads
We seem to be busting at the seams lately with quality content from great providers. I wanted to recommend to...
2009-11-03
224 reads
There are many different ways to manipulate dates when working with them in SSIS. Many great examples have been posted...
2009-11-03
573 reads
Have you ever lost your project file for a SQL Server Analysis Services database? There is a great option to...
2009-11-03
1,052 reads
With the advent of SQL Server 2005 and 2008, mail in the database engine has changed dramatically. Previously you had...
2009-11-03
1,421 reads
One of the most common problems facing a DBA or developer in troubleshooting performance is identifying what processes, and by...
2009-11-03
436 reads
Ok, so I can’t promise you’ll be smooth by the end of this entry, but I can promise you’ll be...
2009-11-03
229 reads
It’s very exciting to be involved with the SQL Saturday here in South Florida. There are already so many great...
2009-11-03
337 reads
I get a lot of requests for explanations about the different concepts and the easiest way to demo partitioning in...
2009-11-03
355 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