How to Recover a SQL Server Login Password
I will describe a simple method anyone can use to obtain lost password information for a SQL Server login.
2017-02-21 (first published: 2013-03-04)
65,943 reads
I will describe a simple method anyone can use to obtain lost password information for a SQL Server login.
2017-02-21 (first published: 2013-03-04)
65,943 reads
Learn how you can get alerts when you centralize the Event log. This is part 2 of the previous article "How to centralize your SQL Server Event Logs."
2014-05-09 (first published: 2012-05-24)
7,429 reads
Learn how you can centralize the Event log data for your servers using a process that Geoff Albin has been using for over 10 years.
2014-05-02 (first published: 2010-11-08)
14,090 reads
Receive Deadlock info from the SQL Error Log every time a deadlock occurs.
2014-01-03 (first published: 2010-12-13)
55,157 reads
This is the method that Geoff Albin has used for years to monitor the CPU on his SQL Servers.
2012-10-19 (first published: 2010-11-17)
30,115 reads
By Brian Kelley
I will be leading an in-person Certified Information Systems Auditor (CISA) exam prep class...
EightKB is back again for 2026! The biggest online SQL Server internals conference is...
By HeyMo0sh
Working in DevOps long enough teaches you two universal truths: That’s exactly why I...
Hi all, I just started using VS Code to work with DB projects. I...
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
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