Turn Rows into Columns in Excel
Have you ever had to take a long column of data in Excel and turn it into a column? There...
2010-11-22
364 reads
Have you ever had to take a long column of data in Excel and turn it into a column? There...
2010-11-22
364 reads
Hey folks, Just a quick preview that we’re hard at work again on a new book with Wiley publishing focused...
2010-11-21
500 reads
Hey there folks! I am sorry it has been about a week without an entry.I have been on planes all...
2010-11-21
325 reads
After the great time everyone had at the PASS Summit this past week I am getting asked more and more...
2010-11-21
361 reads
Hey folks, I recently had the privilege of joining my hometown user group South Florida SQL Server User Group for...
2010-11-08
368 reads
I had some fun last week presenting to the Space Coast User Group in Melbourne as well. They were so...
2010-11-08
327 reads
In life there are not many guarantees. For DBA’s and developers there are a few:
1. Backups will become corrupted but...
2010-11-01
395 reads
For those of you who have seen our team present, we always do our best to make it really informative,...
2010-10-28
1,025 reads
I don’t mean a LaRock aka SQLRockstar, but an actual rock.
I was at dinner last week after our all...
2010-10-26
376 reads
Hey Gang,
Sorry for the absence. I have been offline for a bit dealing with some family stuff. All if good...
2010-10-26
372 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...
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...
Comments posted to this topic are about the item Fun with JSON I
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