Being a Better IT Pro – Get to the Point
When writing emails or other communications, state your point or request right at the beginning.
For instance, if you need...
2014-01-07
429 reads
When writing emails or other communications, state your point or request right at the beginning.
For instance, if you need...
2014-01-07
429 reads
In my IT career, one of the things I have found that sets me apart is my ability to write....
2013-12-23
390 reads
In my IT career, one of the things I have found that sets me apart is my ability to write....
2014-01-22 (first published: 2013-12-23)
16,493 reads
For those who will be at SQL Saturday #233 in Washington, DC, I’ll be giving my professional development talk, Being...
2013-12-02
312 reads
For those who will be at SQL Saturday #233 in Washington, DC, I’ll be giving my professional development talk, Being...
2013-12-02
2,068 reads
If you’re a training provider and I’ve missed you, please drop me a line at brian {dot} kelley {at} sqlpass...
2013-11-22
345 reads
If you’re a training provider and I’ve missed you, please drop me a line at brian {dot} kelley {at} sqlpass...
2013-12-03 (first published: 2013-11-22)
5,335 reads
If you’re a training provider and I’ve missed you, please drop me a line at brian {dot} kelley {at} sqlpass...
2013-11-14
454 reads
If you’re a training provider and I’ve missed you, please drop me a line at brian {dot} kelley {at} sqlpass...
2013-11-14
2,226 reads
I’m a big fan of automation. Automation means I can do more. Automation means I eliminate the mundane stuff to...
2013-11-08
483 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