From the course: Complete Guide to Advanced SQL Server

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

What is SQL Server Ledger?

What is SQL Server Ledger?

Ledger is a new feature that's been added to the SQL Server database platform. Let's start with a high-level overview of what the feature is and the types of scenarios that it benefits. Introduced in SQL Server 2022 and also available in cloud-hosted Azure SQL Databases, ledger allows database administrators to attest that their data has not been tampered with. It does this by using blockchain cryptography to store the full history of all data modifications in protected tables, so that changes can be audited and any unauthorized modifications can be quickly identified. Now, I know that blockchain cryptography is kind of a buzzword phrase these days, so let's break this down to see exactly how this technology is used in SQL Server to enhance your databases security. When ledger is enabled in SQL Server, authorized end users will interact with the data in the same way that they always have. They can write queries to read, insert, and update data just as before. Behind the scenes, SQL…

Contents