Implicit and Explicit Conversions
Code that depends on implicit conversions can live for years in production without issue. However Steve Jones says that you shouldn't depend on these conversions
2011-03-17
440 reads
Code that depends on implicit conversions can live for years in production without issue. However Steve Jones says that you shouldn't depend on these conversions
2011-03-17
440 reads
There’s been some work to close out items in Connect that aren’t going to be fixed. I don’t know exactly...
2011-03-17
882 reads
SQL Connections, part of Dev Connections, is coming in a few weeks. Now is the time to register and get the chance to learn in a sunny location.
2011-03-15
76 reads
Well, not everywhere, but as long as Prometric sites meet some security requirements, they can offer the MCM tests. I...
2011-03-15
840 reads
NoSQL solves some problems in the database world, but not all of them. It's also not an evolution of the relational database, but as Steve Jones notes, it has some features we might see in SQL Server.
2011-03-14
442 reads
I hate those puzzle type interview questions. I am sure that they show some level of aptitude about something, but...
2011-03-14
1,016 reads
A presentation by Steve Jones that looks at a number of common mistakes that people make with SQL Server on a regular basis.
2011-03-11
495 reads
This Friday Steve Jones asks for who's got the best bragging rights. Let us know this Friday just much RAM is a lot.
2011-03-11
329 reads
A presentation by Steve Jones that gives practical tips for enhancing your online brand and making yourself stand out in the modern world.
2011-03-11
340 reads
2011-03-11
2,645 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