Holiday
Taking some of my own advice. I’m off today and tomorrow, as well as Monday for Labor Day. Across this...
2012-08-30
1,439 reads
Taking some of my own advice. I’m off today and tomorrow, as well as Monday for Labor Day. Across this...
2012-08-30
1,439 reads
An interesting method of preventing restaurant fraud and a poll for other ways to determine the accuracy of data. This editorial was originally published on Nov 2, 2007. It is being republished as Steve is on vacation.
2012-08-30 (first published: 2007-11-02)
273 reads
The way you talk creates an impression at others. Steve Jones reminds us that we should be careful about using foul language.
2012-08-29
249 reads
There are often Shadow IT groups in many companies. Steve Jones talks about the potential problems of these groups, and how he has dealt with them in the past.
2012-08-28
220 reads
This week Steve Jones looks at some of the jobs being outsourced and how that might affect data professionals.
2012-08-27
183 reads
Intuit manages ten million lines of code in a single codebase and does a great job of it. Read a little about what they do.
2012-08-27
214 reads
I love San Francisco. It was one of the cities that I thought I might live in someday. My kids...
2012-08-27
1,081 reads
This Friday Steve Jones wants to know how you spend your time. Do you get to do a lot of new development or do you end up fixing, tuning, and improving old code. Let us know.
2012-08-24
118 reads
The last time I was in Austin was last year, for a weekend trip with my wife to see Stevie...
2012-08-23
1,479 reads
It's time to vote for the Exceptional DBA awards, and Steve Jones is asking for your opinion. Take a moment and recognize one of your peers as the best DBA in 2012.
2012-08-23
151 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