How wait statistics are generated
In our last article “Why wait statistics are important and how you can start collecting them now!” we discussed a...
2014-03-06
694 reads
In our last article “Why wait statistics are important and how you can start collecting them now!” we discussed a...
2014-03-06
694 reads
How wait statistics are generated
In our last article “Why wait statistics are important and how you can start collecting them...
2014-03-06
666 reads
Why wait statistics are important and how you can start collecting them now!
Wait statistics have always been a very important...
2014-02-28
1,372 reads
We have 2 different SQL Servers which both have a copy of the AdventureWorks2012 database in Full recovery mode.
One of...
2014-02-20
666 reads
We have 2 different SQL Servers which both have a copy of the AdventureWorks2012 database in Full recovery mode.
One...
2014-02-20
4,955 reads
A couple of days ago I had to manually grow the database data file for a client, they do not...
2014-01-14
2,830 reads
In part one and two of our Tour of the Transaction Log articles we focused on reading events from the...
2013-11-15
1,459 reads
In the last Tour of the Transaction Log we looked at how INSERT operations behave in the transaction log.
In this...
2013-11-04
534 reads
The transaction log is a very important part of SQL Server. Every data modification operation is logged in the transaction...
2013-09-07
732 reads
When your databases grow, operations, like a database backup and restore, are going to take a longer time to complete....
2013-08-21
19,201 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