The Cost of Data Loss
The cost of data loss is higher in the US than other countries. That's good and bad for DBAs.
2010-05-03
176 reads
The cost of data loss is higher in the US than other countries. That's good and bad for DBAs.
2010-05-03
176 reads
I saw Joe Webb’s post, and then Gethryn Ellis’ post as well on when SQL Server last restarted. It’s something...
2010-05-03
450 reads
It seems to rear it’s ugly head more and more these days. Once again I found some content from my...
2010-04-30
1,936 reads
“Show up for work on time for six months and then we’ll talk. Until then, I have four words for...
2010-04-30
2,173 reads
No, I didn’t buy an iPad, but I have to say on a trip to the Apple Store this week...
2010-04-30
2,104 reads
For this Friday poll, Steve Jones talks about an interesting concept. The "stay interview."
2010-04-30
383 reads
Someone asked an interesting question recently. If they had this code:
if OBJECT_ID('aa') is not null
drop table aa
create table...
2010-04-29
2,225 reads
Are you worried about man in the middle attacks on your database server? If you run Oracle you should be, but SQL Server DBAs should not assume they are safe. Adding communication encryption can be a good idea for SQL Server DBAs.
2010-04-29
289 reads
From the PASS 2010 Summit Survey: 29% of people want a presentation on backup compression. OK, here it is.
Turn it...
2010-04-28
2,368 reads
Steve Jones feels that we ought to get regular service packs from Microsoft to support SQL Server. Not everyone agrees. Do you?
2010-04-28
105 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