Changing Data Types
Steve had to deal with a customer that changed data types in columns often. Is that something you experience?
2026-03-18
18 reads
Steve had to deal with a customer that changed data types in columns often. Is that something you experience?
2026-03-18
18 reads
Self-assessment and self-examination can be important in many fields, especially technology in the age of AI.
2026-03-16
77 reads
Many organizations haven't standardized the way they deploy code to databases, even when they do so for applications. Steve has a few thoughts on this today.
2026-03-13
59 reads
Steve used to shut down systems to upgrade them, but lately he makes changes while they're running.
2026-03-11
98 reads
Choosing to upgrade isn't as simple as many of us would like. Steve has a few thoughts today on the decision to move to a new version of a database server.
2026-03-09
74 reads
Steve thinks communication is a core sill for technology people, especially in the age of AI.
2026-03-06
61 reads
Today Steve talks about deployments and whether you should roll forward or roll back.
2026-03-04
89 reads
How do you detect issues in your systems? Testing? Monitoring? Steve Jones has a few thoughts that we should find ways to do so before our customers.
2026-03-02 (first published: 2017-03-01)
271 reads
Steve reminisces on some of the fun times he's had at SQL Server Central.
2026-02-27
86 reads
2026-02-25
82 reads
By HeyMo0sh
Over time, I’ve realised that one of the hardest parts of cloud management isn’t...
By HeyMo0sh
One of the biggest challenges I’ve faced in cloud operations is maintaining clear visibility...
By Steve Jones
I come to Heathrow often. Today is likely somewhere close to 60 trips to...
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
Comments posted to this topic are about the item Answering Questions On Dropped Columns
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