PowerPivot import data from SQL Server
In this tutorial we start creating PowerPivot model in Excel 2013 (very similar in 2010) by importing data from our...
2012-07-22
1,140 reads
In this tutorial we start creating PowerPivot model in Excel 2013 (very similar in 2010) by importing data from our...
2012-07-22
1,140 reads
We have created a simple tutorial for SQL Create Table that may help some of you to prepare for Microsoft...
2012-07-20
675 reads
We found another Blog directory that is willing to accept our RSS feed. And we have been asked to put...
2012-07-20
515 reads
Office 2013 Preview is not avialable. I'm particularly interested in Excel 2013 and new self-server BI features so I decided...
2012-07-19
779 reads
In this blog post we cover instructions on how to enable PowerPivot in Excel 2013 (you can follow them in...
2012-07-19
1,158 reads
In this blog post I will share steps I have taken to set up PowerView using Excel 2013. Hopefully tomorrow...
2012-07-19
979 reads
In this blog post I discuss Scrum (agile development methodology) and method to accurately estimate effort to complete sprint which...
2012-07-18
711 reads
Today I have decided to prepare myself for a meeting with a potential client (tomorrow) and write an article about...
2012-07-16
636 reads
18456 is probably one of the most common errors people come across and in this article we try to cover...
2012-07-13
791 reads
We decided to add blog post that covers only basic SQL Interview questions and answers. The blog currently provides only...
2012-07-07
1,066 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