Happy Halloween 2010
Steve Jones has a day off before SQL Server Connections and brings us a blooper reel for Halloween.
2010-11-01
105 reads
Steve Jones has a day off before SQL Server Connections and brings us a blooper reel for Halloween.
2010-11-01
105 reads
Tomorrow I’m off to Las Vegas for SQL Connections. Since tomorrow is also T-SQL Tuesday #012, I’m writing a pre-trip...
2010-11-01
427 reads
I actually built on in 1999 and called it a Life List. Over the years I’ve tried to work on...
2010-10-29
1,525 reads
In about a week and a half, the SQLServerCentral opening night party takes place at the PASS Summit. And while...
2010-10-29
1,657 reads
It’s been a bit hectic this year. In fact, it feels crazy most weeks as I try to manage work,...
2010-10-28
787 reads
Steve Jones talks about the more formal effort that it seems many people are placing to grow their careers.
2010-10-28
431 reads
This continues my series on Common SQL Server mistakes, looking at more T-SQL mistakes.
What’s Wrong?
If you saw a query like...
2010-10-27
3,448 reads
Steve Jones talks about SQL Server Connections, the conference that might be the place to be for hybrid IT workers.
2010-10-27
124 reads
I was looking over the pre-conference sessions submitted for the SQL Rally event taking place next May in Orlando. I...
2010-10-27
843 reads
The foreclosure issues that are occurring in the US might be due to database issues at one company. Steve Jones notes that when your database is the legal system of record, it has to be accurate.
2010-10-26
152 reads
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...
By Brian Kelley
If your organization is spending money, then meaningful results are a must. Pen testing...
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