Daily Coping 24 Oct 2022
Today’s coping tip is to find joy in tackling something that you have put off. I on not a bad procrastinator, but I do put plenty of things off....
2022-10-24
6 reads
Today’s coping tip is to find joy in tackling something that you have put off. I on not a bad procrastinator, but I do put plenty of things off....
2022-10-24
6 reads
This year the annual PASS Data Community Summit is hybrid, both in-person and virtual. It’s exciting to have this coming back and I look forward to seeing people in...
2022-11-04 (first published: 2022-10-21)
117 reads
Today’s coping tip is to do something constructive to improve a difficult situation. My life is amazing, but there are certainly some difficult times. Sometimes at work, sometimes at...
2022-10-21
8 reads
Today’s coping tip is to avoid blaming yourself or others. Find a helpful way forward. I’ve been busy lately. My days are jammed up with a number of presentations...
2022-10-20
16 reads
Today’s coping tip is to take time to reflect on what you have accomplished recently. What have I done recently? Lots of stuff, but a couple things come out...
2022-10-19
9 reads
I upgraded my primary laptop to Windows 11. A few people had said they liked it, I know that I needed to keep up at some point, and in...
2022-10-19
16 reads
Today’s coping tip is to share an important goal with someone you trust. I’m not sharing an important goal here. Honestly, some of the things that are important to...
2022-10-18
18 reads
There was an interesting question in a forum, which I wrote about before. How do you skip the leading digit in a numeric value. I had looked at a...
2022-10-18 (first published: 2022-10-17)
116 reads
Today’s coping tip is to make progress on a project or task you have been avoiding Most of the things I do for work are spent looking in the...
2022-10-17
7 reads
Today’s coping tip is to look for the good in people around you today. I’m working remotely today in New York. I flew up last night to be with...
2022-10-14
15 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