Whoops
I setup an announcement for today (Sept 14) that the Sept CTP for SQL
Server 2005 was released and that Database...
2005-09-14
1,433 reads
I setup an announcement for today (Sept 14) that the Sept CTP for SQL
Server 2005 was released and that Database...
2005-09-14
1,433 reads
Bill Gates keynote is on webcast now, grab it and check it out.
Also a hint. Paul Flessner is speaking tomorrow...
2005-09-13
1,445 reads
I know there are many off-shelf stuff, like MS Money, that can help you organize your personal financial things, but...
2005-09-11
1,340 reads
I got a very interesting issue, I may guess the reason but not sure why it is this way.
Symptom: Logon to...
2005-09-09
1,378 reads
I still not sure that this blog service was a great idea, but some of
you seem to like it, so...
2005-09-08
1,375 reads
This is my first post, congrats to myself. 🙂
DTS Connection object does not list "UseTrustedConnection" property
I am working on a...
2005-09-08
1,349 reads
I guess it might be because I have been so busy for the last two months with the book, but this...
2005-09-05
1,237 reads
I've spent the last few weeks writing SOX documentation, more SOX
documentation, and even more SOX documentation. A lot the documentation
doesn't...
2005-09-02
1,390 reads
Following the horrifying stories that are unfolding in the aftermath of
Katrina, it is difficult for the mind to single out...
2005-09-02
1,314 reads
There's a blog running at LiveJournal from one of the guys at directnic. There's evidently an ISP that is still...
2005-09-02
1,466 reads
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...
By Brian Kelley
If your organization is spending money, then meaningful results are a must. Pen testing...
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