The Value of Information
If I have accomplished anything, it is because I have stood on the shoulders of giants.
2007-10-03
176 reads
If I have accomplished anything, it is because I have stood on the shoulders of giants.
2007-10-03
176 reads
This article expands Steve Jones' look at ways to audit changes to your data by building mirror tables.
2007-10-02 (first published: 2003-03-17)
22,360 reads
Part 2 of Steve Jones' series on beginning SQL Server from the perspective of a system administrator or someone not used to working with SQL Server. If you've been designated the new administrator, take a look at this series for some help in coming up to speed on this product.
2007-10-02 (first published: 2004-08-19)
36,220 reads
Part 3 of Steve Jones' series on beginning SQL Server from the perspective of a system administrator or someone not used to working with SQL Server. If you've been designated the new administrator, take a look at this series for some help in coming up to speed on this product. This article looks at logins and basic security.
2007-10-02 (first published: 2004-09-02)
41,607 reads
A look at coding standards in SQL Server. The first part of this series deals with object naming standards.
2007-10-02 (first published: 2002-05-09)
49,389 reads
I saw a very interesting post about estimating software from Steve McConnell, of Code Complete fame. He compared his estimate...
2007-10-02
1,010 reads
We crossed the 500,000 member mark last week and we're looking to give away some prizes!
2007-10-02
1,914 reads
Query Analyzer is a great tool for developing SQL code. There are a number of little tricks that can greatly increase the amount of work you can do with very little effort. This article starts looking at some of the features of this tool.
2007-10-02 (first published: 2003-01-07)
70,317 reads
Steve Jones has been working with SQL Server for 10 years. Join him for a stroll down memory lane.
2007-10-02 (first published: 2002-05-23)
5,776 reads
One of the things mentioned in a keynote at the recent PASS conference was the idea that SQL Server 2008 would be a seamless upgrade. Or maybe I misunderstood and it will seem less like an upgrade 🙂
2007-10-02
253 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