SQL Server 2005 Books Online (April 2006)
SQL Server 2005 Books Online has been updated for SP1. The newest
version is labeled SQL Server 2005 Books Online (April...
2006-05-04
1,527 reads
SQL Server 2005 Books Online has been updated for SP1. The newest
version is labeled SQL Server 2005 Books Online (April...
2006-05-04
1,527 reads
I'm catching back up on the TechNet webcasts
I found interesting from April. Most are during the day and with
meetings and...
2006-05-01
700 reads
This question comes up enough on the forums and with SP1 for SQL Server
2005 released, I'll cover it again. You...
2006-04-30
1,603 reads
This study out of the University of Illinois at Urbana-Champaign sounds great:
Software Allows Neighbors To Improve Internet Access At No...
2006-04-30
1,593 reads
In this post,
I talked about using xp_logininfo in order to get the permission paths
for a particular Windows account. If you've...
2006-04-29
10,561 reads
I was catching up on my blog reading and found the following post from Jamie Thomson:
SSIS: Another SP1 problem
The post...
2006-04-28
1,451 reads
There have been reports of some issues with SQL Server 2005 SP1, especially
with SQL Server Integration Services not starting as...
2006-04-27
1,620 reads
I have MVP Raymond Lewallen in my list of blogs to follow. I read with great sadness the following blog...
2006-04-26
1,462 reads
I received an email from another DBA asking how to track a user who is
probably mapping into SQL Server via...
2006-04-25
1,589 reads
A recent question on the forums asked how to determine if a database
user was a Windows user or group and...
2006-04-06
3,908 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