Data Ownership
Who owns the data that we generate ourselves? It's not as easy to answer that as you think.
2007-12-18
54 reads
Who owns the data that we generate ourselves? It's not as easy to answer that as you think.
2007-12-18
54 reads
Usually I'm the one working on my podcasts and starring in them. However I got invited to participate in and...
2007-12-18
1,434 reads
2007-12-17
148 reads
Licensing SQL Server used to be easy and could be again, though it is still better than licensing Oracle.
2007-12-17
247 reads
I'm sure that most of you know that you cannot turn off logging in SQL Server. You can minimize the...
2007-12-17
1,436 reads
If someone acts suspicious at work, do you report them? What if it's the CIO? What if data security is involved?
2007-12-14
101 reads
Malicious code embedded inside advertisements served on the web. What's next?
2007-12-13
71 reads
A short congratulations to myself. I was answering posts last night after tech editing another chapter of the book I'm...
2007-12-12
1,474 reads
Everyone wants real time reporting, or do they? Steve Jones talks about some of the downsides of implementing such a system.
2007-12-12
121 reads
A primary key is a must for every table. Or is it? Steve Jones examines the question.
2007-12-11
465 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