T-SQL Tuesday 61: A Season of Giving
Tis the season for TSQL Tuesday. Not only is it that season again, but it is also the Holiday season.
During...
2014-12-09
751 reads
Tis the season for TSQL Tuesday. Not only is it that season again, but it is also the Holiday season.
During...
2014-12-09
751 reads
I am about to set sail on a new venture with my next official whistle stop. This year has been...
2014-12-08
805 reads
I am about to set sail on a new venture with my next official whistle stop. This year has been plenty full of whistle stops and I plan on...
2014-12-08
5 reads
This past weekend I had the opportunity to go visit Washington DC. It was just the second time I got to stay in the Nation’s capitol for more than just...
2014-12-08
3 reads
This past weekend I had the opportunity to go visit Washington DC. It was just the second time I got to...
2014-12-08
548 reads
Recently I shared an article on how to track the growths and shrinks that occur within database files. I shared...
2014-11-26
2,578 reads
If you just so happen to be running on SQL Server 2012 or later, you will need to change your event sessions that were tracking file changes. It is...
2014-11-26
17 reads
It is once again time to come together as a community and talk about a common theme. This monthly gathering of the community has just reached it’s 5th anniversary....
2014-11-11
3 reads
It is once again time to come together as a community and talk about a common theme. This monthly gathering...
2014-11-11
580 reads
As Summit 2014 begins to wind down, it is time for some more impressions from the week. The week has...
2014-11-07
624 reads
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,...
Quite the title, so let me set the stage first. You have an Azure...
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