Rescheduled: SQL Lunch #42 - Auditing Database Permissions in SQL Server
Last Wednesday I woke up feeling under the weather with a hoarse voice. I wasn't up to doing the presentation...
2010-11-01
706 reads
Last Wednesday I woke up feeling under the weather with a hoarse voice. I wasn't up to doing the presentation...
2010-11-01
706 reads
Self-marketing is not my strong suit. I don't feel very comfortable doing it, but Andy Warren (twitter | blog) suggests that we...
2010-10-29
2,483 reads
Tuesday
PASS Performance Virtual Chapter - Five Fast Fixes for Fatal Flaws - Brent Ozar
Wednesday
SQL Lunch - Data Mining in SQL Server and Power...
2010-10-29
1,813 reads
I woke up this morning about 3 AM with clogged sinuses and a fever. Great. The changing weather patterns that...
2010-10-27
633 reads
I won't say I despise SQL Server Management Studio's (SSMS) display for execution plans, but it's about at that level....
2010-10-27
1,249 reads
With the new securables since SQL Server 2005, Microsoft has advised that we start moving away from the fixed server...
2010-10-26
4,544 reads
Unless James Bond is in the picture, security is usually not a sexy topic. However, we all lament the lack...
2010-10-25
2,059 reads
This coming Wednesday I'll be speaking for SQL Lunch on the topic of Auditing Database Permissions in SQL Server. The abstract for...
2010-10-22
517 reads
Monday
PASS Data Warehousing/BI Virtual Chapter - Applied MDX - Kevin Geoff
Tuesday
PASS Application Development Virtual Chapter - Refactoring SQL Applications - Jeremiah Peschka
Pragmatic Works - Pro...
2010-10-22
863 reads
SQL Server MVP Arnie Rowland (blog | twitter) has been running a project, Project Phoenix, to benefit unemployed/underemployed developers who are striving to do...
2010-10-17
570 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