Recompile Monitoring using XEvents
How recompiles can hurt you, and how you can hunt them down using sql_statement_recompile.
2016-03-07
26 reads
How recompiles can hurt you, and how you can hunt them down using sql_statement_recompile.
2016-03-07
26 reads
What servers need the most attention when it comes to I/O? When I increase the memory on a server what...
2016-02-29
934 reads
What servers need the most attention when it comes to I/O? When I increase the memory on a server what effect does it have on I/O? What was it...
2016-02-29
14 reads
Database servers have to wait on different resources, and these waits are huge to the performance of SQL Server. Sometimes...
2016-02-22
685 reads
Database servers have to wait on different resources, and these waits are huge to the performance of SQL Server. Sometimes something changes without our knowledge and is running differently...
2016-02-22
22 reads
Files in SQL Server need to grow as the database grows, and in very specific circumstances need to be shrunk...
2016-02-15
1,282 reads
When should you shrink your log files and what does it mean to performance?
2016-02-15
80 reads
Virtual Log Files (VLFs) split a physical database log file into smaller segments, which are required for how log files...
2016-02-08
796 reads
Transaction logs are split into VLFs which affects performance. How large are yours and what does that mean for you?
2016-02-08
82 reads
I see TempDB using more memory than I feel it should and found a way to resolve it. Previously I...
2016-02-05 (first published: 2016-02-01)
2,737 reads
By Brian Kelley
I will be leading an in-person Certified Information Systems Auditor (CISA) exam prep class...
EightKB is back again for 2026! The biggest online SQL Server internals conference is...
By HeyMo0sh
Working in DevOps long enough teaches you two universal truths: That’s exactly why I...
Hi all, I just started using VS Code to work with DB projects. I...
Comments posted to this topic are about the item Fun with JSON II
Comments posted to this topic are about the item Changing Data Types
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 t1.[key] AS row,
t2.*
FROM OPENJSON(
(
SELECT t.* FROM #test_data AS t FOR JSON PATH
)
) t1
CROSS APPLY OPENJSON(t1.value) t2; See possible answers