How to retrieve Cell Properties from a SSAS MDX query using SSIS
Scenario
This is a short article where I want to share something I discovered recently. I worked on an SSIS package...
2016-07-14 (first published: 2016-07-02)
1,949 reads
Scenario
This is a short article where I want to share something I discovered recently. I worked on an SSIS package...
2016-07-14 (first published: 2016-07-02)
1,949 reads
One of the common source data files that every ETL Developer/Architect will have to grapple with every now and then...
2016-04-03
17,771 reads
Dear reader, I would like to share with you some of the capabilities that the Power Query for Excel brings...
2013-08-22 (first published: 2013-08-19)
4,950 reads
Scenario
I have discovered from working on projects that sometimes you may have to make use of temporary or staging tables...
2012-12-23
2,699 reads
Sometimes in life things happen when you least expect them. This was my experience some few weeks ago when I...
2012-11-13
1,076 reads
In this blog post, I will be sharing a new date feature in SQL Server 2012 called the EOMONTH (End...
2012-08-02
1,749 reads
I am sure you have heard of the term; garbage in garbage out. This maxim is even more true when...
2012-06-10
915 reads
2012-06-10
653 reads
These datatypes particularly NVARCHAR(n), have been with us for some time now but having seen some of the confusion around...
2012-05-28
7,935 reads
I am wrapping up this series by finally considering the rarely used type 3 SCD.
( i.e. in most business scenarios)
Unlike...
2012-05-22
835 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