Quotes in Calculation Tab
A quick clarification on something I said the other day to a group of students in one of our quick...
2010-02-20
210 reads
A quick clarification on something I said the other day to a group of students in one of our quick...
2010-02-20
210 reads
Excel is a significant source of data in most enterprises. Therefore there is a large amount of Excel work being...
2010-02-20
266 reads
Any of us can work with some simple MDX queries and get them to do what we want, but in...
2010-02-20
295 reads
Security in SSAS is a simple yet powerful application of windows integrated security. MDX adds extra power to this by...
2010-02-20
335 reads
There are sometimes some cool things you can do with a language that is not really it’s primary focus. T-SQL...
2010-02-20
392 reads
I often get asked when we are discussing loading dimension tables in SSIS, why the key columns from the table...
2010-02-20
354 reads
Ok Guys and Gals. I know I have been a slow blogger thus far in 2010. To try and make...
2010-02-08
344 reads
Many times when I'm teaching a class or working with a group, they express frustration at the load time for...
2009-12-18
487 reads
With the explosion of Netbooks, it has become important to find new ways to load operating systems. I recently picked...
2009-12-11
315 reads
Hey there gang. I, like many of you, am very excited about the new betas for the 2010 product stack...
2009-12-07
340 reads
By HeyMo0sh
Over time, I’ve realised that one of the hardest parts of cloud management isn’t...
By HeyMo0sh
One of the biggest challenges I’ve faced in cloud operations is maintaining clear visibility...
By Steve Jones
I come to Heathrow often. Today is likely somewhere close to 60 trips to...
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