Finding DDL Triggers
Triggers are the types of objects in SQL Server that are easy to lose track of. There isn’t an obvious...
2012-09-13
10,951 reads
Triggers are the types of objects in SQL Server that are easy to lose track of. There isn’t an obvious...
2012-09-13
10,951 reads
Faster CPUs allow us to perform more complex modeling and analysis of variables, and hopefully come up with better decisions. However that more complex analysis means more data.
2012-09-13
172 reads
What if you could stop all work for a month and have people find ways to improve the business? Would you take the chance?
2012-09-12
157 reads
The raw footage of all the mistakes I’ve made since the Fourth of July.
Part 1
Part 2
Filed under: Blog Tagged: Humor,...
2012-09-12
1,000 reads
The algorithms that you use to query or mine data are very important. Amazon knows their recommendations algorithms are important. Do you know what's important in your job?
2012-09-11
274 reads
The Denver SQL Saturday is coming in less than two weeks, SQL Saturday #169 is our second event in Denver,...
2012-09-11
937 reads
I couldn’t resist, so here goes….
Help, I need some data,
Help, not just any data,
Help, I was told you...
2012-09-11
983 reads
The future of employment in the technology industry means learning to do more with less.
2012-09-10
139 reads
I once rowed in the Head of the Charles Regatta. I had the 3d seat, starboard, in a 4 man...
2012-09-07 (first published: 2012-09-04)
2,238 reads
This Friday Steve Jones has a fun poll. If your new boss told you to spec out a machine, what would you choose?
2012-09-07
142 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