July 2012 – Monthly SQL Server Checklist
The year is half over and for many of us, specifically those in the United States, it’s a tricky week...
2012-07-03
894 reads
The year is half over and for many of us, specifically those in the United States, it’s a tricky week...
2012-07-03
894 reads
This post is part of a blog series which focuses on translating compatibility views in SQL Server to their respective...
2012-07-02
1,052 reads
When SQL Server 2005 launched, it included a slew of dynamic management objects (DMOs) that were meant to replace the...
2012-07-01
1,101 reads
This post is part of a blog series which focuses on translating compatibility views in SQL Server to their respective...
2012-07-01
1,631 reads
Think about that last SQL statement that you wrote. Did you originally write it? Are you sure you wrote it? ...
2012-06-22
1,289 reads
With the release of the PASS Summit 2012 schedule, I’m pleased to announce that I have been selected to present...
2012-06-21
827 reads
Have you ever been told that you should use NOLOCK? I have, and its usually been with OLTP systems where...
2012-06-18
1,979 reads
Guess, what? I’ve thrown my hat in to the elections for the Nomination Committee for PASS. That means that I...
2012-06-14
833 reads
It’s the first Monday of the month, have you checked your servers out? Do you know that everything with your...
2012-06-08 (first published: 2012-06-04)
2,439 reads
Do you know a DBA that saves the day time and again? Or one that doesn’t need to save the...
2012-06-06
983 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