How Old Are Your Database Statistics?
Unlike fine wine, database statistics do not improve with age. I recently helped out with a client who was having...
2010-09-02
3,375 reads
Unlike fine wine, database statistics do not improve with age. I recently helped out with a client who was having...
2010-09-02
3,375 reads
Not a sound from the pavement. Have you ever come across a SQL query that used to run faster? Has that...
2010-08-30
5,561 reads
We are here again with after another week and ready for another episode in this series. Today we get to...
2010-08-27
4,181 reads
I’ve fielded a number of requests recently asking how to interrogate a file within SSIS and change the processing rules...
2010-08-26
11,640 reads
Sometimes, its just the smallest of details that can make all the difference. For example, on my test system (see...
2010-07-27
3,072 reads
In a recent thread here on SQL Server Central, it was pointed out that a member of the securityadmin fixed...
2010-07-23
5,025 reads
I recently posted a couple of scripts that backup all databases on your SQL Server instance to disk with a...
2010-03-31
1,271 reads
I had a question today about why it was “bad” to use a UniqueIdentifier as the data type for a...
2010-03-30
3,661 reads
I've been using the scripting tools in SSIS for some time, but I came across something today that I can't...
2010-03-29
2,895 reads
I was reading through the latest XML Workshop article that I have from Jacob Sebastian. It’s a fantastic series for...
2010-03-26
1,476 reads
By Vinay Thakur
Continuing from Day 4 where we learned Encoder, Decoder, and Attention Mechanism, today we...
By Vinay Thakur
Continuing from Day 3 where we covered LLM models open/closed and their parameters, Today...
By Steve Jones
One of the nice things about Flyway Desktop is that it helps you manage...
I'm fairly certain I know the answer to this from digging into it yesterday,...
Hi Team, I am trying to refresh the Azure Synapse Dedicated pool from production...
hi everyone I am not sure how to write the query that will produce...
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