Autogrow bug – fixed with Denali
Recently I ran into a bug related to autogrow of the log file. Because this was the second time I...
2011-08-23
1,864 reads
Recently I ran into a bug related to autogrow of the log file. Because this was the second time I...
2011-08-23
1,864 reads
With SQL Server Denali there has been made some improvements to the OVER clause, which I wasn’t even aware of...
2011-08-16
1,449 reads
Ever since I was a web developer back in the days, server side paging has been an issues. Back then...
2011-08-09
1,726 reads
Are you tired of doing self joins, just to get the value of a column in the previus/subsequent row, or...
2011-08-02
1,710 reads
Recently I had to create a simple query to lookup a single row in a table containing ranges that do...
2011-07-26
621 reads
My colleagues and I often joke around with “If it takes less than a second, then it’s okay!”. The reason...
2011-07-19
1,459 reads
A few weeks back we wrote about a query to tell you which database is using up most CPU time....
2011-07-12
1,483 reads
All developers know, that it is very important to encapsulate code in classes and methods to be able to reuse...
2011-07-05
798 reads
We all know how easy it is to see how much CPU power is consumed by the SQL Server process,...
2011-06-28
1,656 reads
I have actually written about this subject earlier on my Danish blog (http://www.performanceduo.com/post/Index-Rebuild-progress.aspx), but last week when working on a...
2011-06-21
18,075 reads
By HeyMo0sh
Microsoft Fabric (not to be confused with the more general term “fabric” in DevOps)...
By James Serra
I’m honored to be hosting T-SQL Tuesday — edition #192. For those who may...
By Vinay Thakur
Continuing from Day 2 , we learned introduction on Generative AI and Agentic AI,...
hi everyone I am not sure how to write the query that will produce...
Comments posted to this topic are about the item Rollback vs. Roll Forward
Comments posted to this topic are about the item Foreign Keys - Foes or...
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 *
FROM OPENJSON(
(
SELECT t.* FROM #test_data AS t FOR JSON PATH
)
) t; See possible answers