Finding Key Lookups In Cached Execution Plans
Ask anyone with performance tuning experience to list the most expensive operations in an execution plan and it's a safe...
2010-07-29
5,317 reads
Ask anyone with performance tuning experience to list the most expensive operations in an execution plan and it's a safe...
2010-07-29
5,317 reads
Now that the PASS SQLRally (formerly known as the spring event) has a name it's time to start building a...
2010-07-22
678 reads
In case you missed it the Program Session (60 min. long) selections are now available on the 2010 PASS Summit...
2010-07-21
504 reads
If you're a PASS member you may have noticed in this morning's Community Connector that the 2011 spring event I...
2010-07-14
541 reads
I received an unexpected but certainly not unwelcome email last night letting me know that I've been selected to present...
2010-06-23
412 reads
In March of this year the PASS Board of Directors began kicking around the idea of holding some kind of...
2010-06-21
878 reads
On Tuesday, June 15, I'm presenting Paging DR Availability, You're Wanted in the Recovery Room at the Orlando SQL Server...
2010-06-10
415 reads
I submitted three abstracts for the 2010 PASS Summit this year - two "normal" (75 minute) and one spotlight (90 minute)...
2010-06-08
475 reads
I've been published! My article Troubleshooting Transactional Replicationis featured in the June 2010 issue of SQL Server Magazine (subscription required...
2010-05-28
1,922 reads
Note: This is a very non-SQL Server related post. If you don't want to read something personal about me feel...
2010-05-11
852 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