From the Labs of SQL Prompt
I love SQL Prompt as an add-in for SSMS. The intellisense is very handy for me and I’ve gotten used...
2012-05-25 (first published: 2012-05-21)
2,709 reads
I love SQL Prompt as an add-in for SSMS. The intellisense is very handy for me and I’ve gotten used...
2012-05-25 (first published: 2012-05-21)
2,709 reads
One of the areas where the cloud may have the most impact is with new infrastructure improvements. Steve Jones talks about a few companies that are using the cloud in different ways.
2012-05-24
118 reads
I read the confessions of a recovering Lifehacker and thought it was an interesting read. It seems that the author...
2012-05-23
1,024 reads
Suppose you had some data like this:
Class Limit
————— ———–
Calculus 5
History 4
Physics 2
But what you really want is this:
Class ...
2012-05-22
1,468 reads
When is the cloud right for your databases? Steve Jones talks about some metrics and ways you can measure your usage to determine when it makes sense.
2012-05-22
114 reads
The idea of continuous development, integration and release can be a way to get your software in use by clients quicker. Steve Jones talks about releases, and some benefits you might get.
2012-05-21
161 reads
A system administrator can set a good example with the passwords they give to users or a bad example. Which one do you set?
2012-05-18
254 reads
My fourth visit to the Rocky Mountain Tech Trifecta will be tomorrow where I’ll deliver two talks:
Branding Yourself for a...
2012-05-18
1,121 reads
Interviews are the way we primarily make hiring decisions but as Steve Jones notes, we don't really end up doing a very good job of picking good employees in many cases.
2012-05-17
327 reads
The definition of Big Data is rather murky, despite all the press and attention given to it. Steve Jones talks about what Big Data means for relational databases.
2012-05-16
750 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