Blob Auditing for Azure SQL Database
In February 2017, Microsoft announced the general availability of Blob Auditing for Azure SQL Database. While auditing features were available...
2017-04-18
636 reads
In February 2017, Microsoft announced the general availability of Blob Auditing for Azure SQL Database. While auditing features were available...
2017-04-18
636 reads
When working with the AzureRM PowerShell module, remember the module is constantly being updated to take advantage of new features...
2017-04-13
360 reads
Everyone has goals or at least they should have goals. As a young professional out of college, I had plenty...
2016-09-26
568 reads
The most current code is now on Github, with the Codeplex version being depreciated. You can read all about the...
2016-08-16
517 reads
The host for T-SQL Tuesday #79 is Michael J. Swart (b|t), and his topic of choice is to write about...
2016-06-14
633 reads
Have you ever tried to restore over an existing database only to receive the following error message?
Msg 3154, Level 16,...
2016-05-24
810 reads
UPDATED - May 16, 2017 - Please review the updated code here.
In my previous post, Configuring the Azure SQL Database Firewall, I discussed...
2015-11-19 (first published: 2015-11-17)
2,494 reads
Azure SQL Database is a Platform as a Service (PaaS) that provides a relational database for use over the internet....
2015-11-03
588 reads
To celebrate a recent achievement, I have decided to create a whole new section to my blog that will be...
2015-10-17
503 reads
In case you missed it last week, there will be another SQL Saturday this weekend in Charlotte, NC. If you...
2015-10-14
509 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