SSIS Tips and Tricks Q&A
Thank you to everyone who attended my webinar on SSIS Tips and Tricks on October 3, 2013. The link to...
2013-10-14 (first published: 2013-10-07)
3,665 reads
Thank you to everyone who attended my webinar on SSIS Tips and Tricks on October 3, 2013. The link to...
2013-10-14 (first published: 2013-10-07)
3,665 reads
There could be a number of reasons why you would want to change the default view on a SharePoint library....
2013-10-08
739 reads
On Thursday of this week I will be presenting a webinar for Pragmatic Works Free Training on the T’s. I...
2013-10-02
942 reads
Quickly setting up a domain controller is a vital step in creating a good demo environment. This post will walk...
2013-10-02
2,020 reads
Being able to manage the content types in your SharePoint libraries is key to creating a useful portal. Among the...
2013-10-02
2,808 reads
There are a number of data types that are currently unsupported on PDW. Among those are SQL_VARIANT. The interesting part...
2013-09-06
1,163 reads
Thank you to everyone who attended my free webinar on August 29, 2013 where I talked about using the Data...
2013-08-29
2,863 reads
Not too long ago I ran into a crazy situation where just about everything that could have gone wrong with...
2013-08-27
1,575 reads
CTP 1 of SQL Server 2014 was released this evening. If you have an MSDN or TechNet account you can...
2013-06-25
677 reads
Power View was a new reporting option added in the SQL Server 2012 release as part of the SharePoint integrated...
2013-06-11
1,865 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