Why you should blog more
I was trying to write an article for a long time. Every time I start writing one, I would put...
2011-09-01
1,237 reads
I was trying to write an article for a long time. Every time I start writing one, I would put...
2011-09-01
1,237 reads
The other day I logged on to my backup laptop (Win 7 N 64 Bit) and had this nice little...
2011-09-01
589 reads
The other day I logged on to my backup laptop (Win 7 N 64 Bit) and had this nice little warning and error message to greet me. My activation...
2011-09-01
3 reads
I've recently been talking to people looking for DBAs and one of the questions that always gets asked early on...
2011-08-31
2,720 reads
Weekday Lunch RAW!
Welcome to the Smack-down ladies and gentleman. I couldn?t believe it when Brian walked into my office the...
2011-08-31
1,797 reads
Today I am going to revisit two posts from the past couple of weeks. I want to revisit them just...
2011-08-31
1,803 reads
Today I am going to revisit two posts from the past couple of weeks. I want to revisit them just to make some minor updates and clarifications. This is...
2011-08-31
7 reads
As some of you may know, I am writing a book on indexing. So far I’ve written and submitted four...
2011-08-31
1,406 reads
Last weekend, as I was waiting for the start of the performance of the Cleveland Orchestra at its summer outdoor...
2011-08-31
1,794 reads
Converting EBCDIC to ASCII in SSIS 2008 can seem like a daunting task. There is a lot of manual work...
2011-08-31
8,703 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