Announcing Azure SQL Database ledger

Published May 25 2021 08:00 AM 20.1K Views
Microsoft

Blockchain has been transformational for enterprises, digitizing trust for multi-party workflows. Blockchain decentralizes the data and the business logic which produces the data that augments, or replaces, the necessary business contracts in place between parties to ensure agreed-upon business practices are followed.

 

But blockchain isn't always the right fit for all systems that require digitization of trust.  What if you have a centralized system where you want to prove your data's integrity to other parties?  For example, proving to auditing or regulatory authorities that your data has not been tampered by a malicious party?  Today I'm excited to announce Azure SQL Database ledger, which adds tamper-evident capabilities to your Azure SQL Databases, available in Preview starting in West Central US with all regions following shortly.

 

The power of blockchain, the simplicity of SQL

Blockchain is still relatively nascent, particularly in the enterprise.  Protocols are rapidly evolving, development tooling is continuing to mature, and standards are beginning to take hold.  However, many enterprises are attracted to blockchain to enable digital trust for systems which are fundamentally centralized at their core.  Building a new system based on blockchain, where data must be migrated and business logic must be implemented into smart contracts, is not a small undertaking.  While worth the effort for systems that are low-trust and require decentralization, for centralized systems traditional blockchain may just be overkill.

 

Azure SQL Database ledger provides a simpler solution for these centralized systems where strengthening trust between parties is required.  As a feature of Azure SQL Database, the ledger feature does not require any migration of data or changes to your applications.  You can enable ledger functionality on tables in your database and interact with them the same ways you would for any other tables.

 

Avanade Color Logo RGB.png

"In the time we've been working with it, Azure SQL Database ledger has proven incredibly powerful for organizations that need attestation, and auditing for their end-to-end data, without the overhead of a whole blockchain consortium. With the ledger feature, you have a best-in-class database, allowing you to build with your existing enterprise stack, providing security, with increased speed of development.  Read the use cases that Avanade sees for Azure SQL Database ledger, including a sample application showcasing how to use the ledger feature for healthcare tracking.

Chris-Lloyd Jones

Product & Engineering Lead, Emerging Technology

Trust, but verify you data

With the ledger feature, you will be able to detect if data in your Azure SQL Database has been maliciously altered and if so, restore it back to the original value.  Using the same cryptographic patterns seen in blockchain technology, each transaction is cryptographically hashed and inserted in a blockchain data structure.  The computed hashes of your database are then stored outside of Azure SQL Database in tamper-proof storage (such as Azure immutable Blob storage, or Azure Confidential Ledger), as database digests.  Database digests are used later to verify that data in the database has not been tampered with, by comparing the hash values in the digests against the calculated hashes stored in Azure SQL Database ledger.  If even a single bit is altered in the database, the database verification process will detect and report the tampering. 

 

Picture1.png“Azure SQL Database ledger delivers our platform with all of the benefits that blockchain technology provides, without the additional heavy lifting of the blockchain infrastructure, performance considerations and challenges associated with data residency. Working closely with Microsoft on this technology has enabled us to refine our proposition, providing additional benefits to the worlds commercial banks and regulators alike.”

Andrew Smith

Chief Technology Officer

 

Azure SQL Database ledger provides two types of ledger-enabled tables for your database: updatable ledger tables and append-only ledger tables.

 

Updatable ledger tables

Most existing applications have a pattern of inserting, as well as updating and deleting data.  How, then, do you provide tamper-evidence when your applications modify data in your database?  Updatable ledger tables capture the historical values of rows that have been changed or deleted in your database in an associated history table.  However, capturing the historical values of rows changed by itself isn’t helpful unless you know which transactions initiated the change, along with the user who made those changes.

 

Ledger-Updatable-Architecture.png

 

Each transaction in an updatable ledger table is assigned a unique transaction ID, as well as tracking the sequence of row modifications in the transaction.  This information allows you to perform the forensics necessary to understand the data lineage of all changes to data in your database over time.

 

For example, in a simple banking transaction scenario, Nick originally had a balance of $50 (a) in his account.  Later he deposits an additional $50 into his account, updating his total balance to $100.  This is represented in the ledger view as a DELETE of his original balance of $50, and an INSERT of a new row of $100 (b).  A ledger view is created for your updatable ledger table which shows both the history of the data, as well as the transaction IDs that initiated the data changes.

 

Updatable.png

 

While a real-world account ledger schema would be much more complex with normalized tables, this is just a simple example to show the relationship of managing historical data in updatable ledger tables.  Follow this tutorial, which uses the example above, on how to use updatable ledger tables.

 

Append-only ledger tables

Append-only ledger tables differ from updatable ledger tables in that UPDATE and DELETE operations are blocked by SQL Server.  This makes append-only ledger tables ideal for applications that expect an insert-only pattern, such as Security Information and Event Management (SIEM) systems.  By blocking UPDATE and DELETE operations, there is no need for an associated history table.  Additionally, append-only ledger tables provide an extra layer of security, preventing privileged users from modifying the data in the append-only ledger table.

 

SQL Ledger Architecture Append.png

 

Another benefit of append-only ledger tables is its ability to extend blockchain applications.  Blockchains are not optimized for high-throughput queries, nor do they provide the relational capabilities needed for business intelligence reporting.  By replicating the blockchain data to Azure SQL Database ledger, customers have the ability to easily query blockchain data in a performant manner, and more importantly, persist the data integrity from the blockchain to the off-chain append-only ledger tables.  Follow this simple tutorial to learn how to use append-only ledger tables.

 

bp.png

 "bp decided to explore alternatives to address the major impediments of the blockchain solution they were using, e.g. developer velocity, querying of the ledger and infrastructure costs.  Azure SQL Database ledger provides a tamper evident data store for a centralised solution that relies on a high degree of trust in the integrity of the data. Using Azure SQL Database ledger has helped increase developer velocity and we expect it to enhance bp’s ability to build secure trusted applications to support our core value of safety.”

Christian Mare

Azure Architect - Digital Production & Business Services

 

Learn more

Ready to get started and learn more?  Check out the below resources and we look forward to seeing what you build with this Azure SQL Database ledger!

 

 

3 Comments
Senior Member

Will the preview be extended to other regions (we use South Central)?  Realize other regions are to follow from above announcement, just wondering on the timeline as we would be interested in using.

Occasional Visitor

Today I'm excited to announce Azure SQL Database ledger, which adds tamper-​evident capabilities to your Azure SQL Databases, available in Preview starting.  Microsoft is announcing several new capabilities for Azure database services at Build. We are pleased to announce the public preview of Microsoft Azure Analysis Services, the latest addition to our data platform in the cloud.

Senior Member

Not being able to apply this to existing databases (or tables) without essentially creating an empty database with  tables defined with SYSTEM_VERSIONING = ON, LEDGER = ON and then importing data from one's existing tables into these empty tables appears to be the only to handle something that already exists.

 

We are very interested in this but given I have 230 customer tables, some of which are extremely busy, I am not seeing one could get there from here.

%3CLINGO-SUB%20id%3D%22lingo-sub-2200401%22%20slang%3D%22en-US%22%3EAnnouncing%20Azure%20SQL%20Database%20ledger%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2200401%22%20slang%3D%22en-US%22%3E%3CP%3EBlockchain%20has%20been%20transformational%20for%20enterprises%2C%20digitizing%20trust%20for%20multi-party%20workflows.%20Blockchain%20decentralizes%20the%20data%20and%20the%20business%20logic%20which%20produces%20the%20data%20that%20augments%2C%20or%20replaces%2C%20the%20necessary%20business%20contracts%20in%20place%20between%20parties%20to%20ensure%20agreed-upon%20business%20practices%20are%20followed.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBut%20blockchain%20isn't%20always%20the%20right%20fit%20for%20all%20systems%20that%20require%20digitization%20of%20trust.%26nbsp%3B%26nbsp%3BWhat%20if%20you%20have%20a%20centralized%20system%20where%20you%20want%20to%20prove%20your%20data's%20integrity%20to%20other%20parties%3F%26nbsp%3B%26nbsp%3BFor%20example%2C%20proving%20to%20auditing%20or%20regulatory%20authorities%20that%20your%20data%20has%20not%20been%20tampered%20by%20a%20malicious%20party%3F%26nbsp%3B%26nbsp%3BToday%20I'm%20excited%20to%20announce%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fsql-ledger%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSTRONG%3EAzure%20SQL%20Database%20ledger%3C%2FSTRONG%3E%3C%2FA%3E%2C%20which%20adds%20tamper-evident%20capabilities%20to%20your%20Azure%20SQL%20Databases%2C%20available%20in%20Preview%20starting%20in%20West%20Central%20US%20with%20all%20regions%20following%20shortly.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--500328556%22%20id%3D%22toc-hId--500328556%22%20id%3D%22toc-hId--500328556%22%20id%3D%22toc-hId--500328556%22%20id%3D%22toc-hId--500328556%22%20id%3D%22toc-hId--500328556%22%3EThe%20power%20of%20blockchain%2C%20the%20simplicity%20of%20SQL%3C%2FH2%3E%0A%3CP%3EBlockchain%20is%20still%20relatively%20nascent%2C%20particularly%20in%20the%20enterprise.%26nbsp%3B%20Protocols%20are%20rapidly%20evolving%2C%20development%20tooling%20is%20continuing%20to%20mature%2C%20and%20standards%20are%20beginning%20to%20take%20hold.%26nbsp%3B%20However%2C%20many%20enterprises%20are%20attracted%20to%20blockchain%20to%20enable%20digital%20trust%20for%20systems%20which%20are%20fundamentally%20centralized%20at%20their%20core.%26nbsp%3B%20Building%20a%20new%20system%20based%20on%20blockchain%2C%20where%20data%20must%20be%20migrated%20and%20business%20logic%20must%20be%20implemented%20into%20smart%20contracts%2C%20is%20not%20a%20small%20undertaking.%26nbsp%3B%26nbsp%3BWhile%20worth%20the%20effort%20for%20systems%20that%20are%20low-trust%20and%20require%20decentralization%2C%20for%20centralized%20systems%20traditional%20blockchain%20may%20just%20be%20overkill.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20SQL%20Database%20ledger%20provides%20a%20simpler%20solution%20for%20these%20centralized%20systems%20where%20strengthening%20trust%20between%20parties%20is%20required.%26nbsp%3B%20As%20a%20feature%20of%20Azure%20SQL%20Database%2C%20the%20ledger%20feature%20does%20not%20require%20any%20migration%20of%20data%20or%20changes%20to%20your%20applications.%26nbsp%3B%20You%20can%20enable%20ledger%20functionality%20on%20tables%20in%20your%20database%20and%20interact%20with%20them%20the%20same%20ways%20you%20would%20for%20any%20other%20tables.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Avanade%20Color%20Logo%20RGB.png%22%20style%3D%22width%3A%20284px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F282004i30D0876D97D05F60%2Fimage-dimensions%2F284x104%3Fv%3Dv2%22%20width%3D%22284%22%20height%3D%22104%22%20role%3D%22button%22%20title%3D%22Avanade%20Color%20Logo%20RGB.png%22%20alt%3D%22Avanade%20Color%20Logo%20RGB.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3E%22%3CEM%3EIn%20the%20time%20we've%20been%20working%20with%20it%2C%20Azure%20SQL%20Database%20ledger%20has%20proven%20incredibly%20powerful%20for%20organizations%20that%20ne%3C%2FEM%3E%3CEM%3Eed%20attestation%2C%20and%20auditing%20for%20their%20end-to-end%20data%2C%20without%20the%20overhead%20of%20a%20whole%20blockchain%20consortium.%20With%20the%20ledger%20feature%2C%20you%20have%20a%20best-in-class%20database%2C%20allowing%20you%20to%20build%20with%20your%20existing%20enterprise%20stack%2C%20providing%20security%2C%20with%20increased%20speed%20of%20development.%26nbsp%3B%26nbsp%3B%3C%2FEM%3E%3CEM%3ERead%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.avanade.com%2Fen%2Fblogs%2Ftechs-and-specs%2Fazure%2Fblockchain-sql-server-ledger-tables%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Euse%20cases%3C%2FA%3E%26nbsp%3Bthat%20Avanade%20sees%20for%20Azure%20SQL%20Database%20ledger%2C%20including%20a%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAvanade%2Femtech-distributed-data%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Esample%20application%3C%2FA%3E%20showcasing%20how%20to%20use%20the%20ledger%20feature%20for%20healthcare%20tracking.%3C%2FEM%3E%E2%80%9D%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-right%22%3EChris-Lloyd%20Jones%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-right%22%3EProduct%20%26amp%3B%20Engineering%20Lead%2C%20Emerging%20Technology%3C%2FP%3E%0A%3CH2%20class%3D%22lia-align-left%22%20id%3D%22toc-hId-1987184277%22%20id%3D%22toc-hId-1987184277%22%20id%3D%22toc-hId-1987184277%22%20id%3D%22toc-hId-1987184277%22%20id%3D%22toc-hId-1987184277%22%20id%3D%22toc-hId-1987184277%22%3ETrust%2C%20but%20verify%20you%20data%3C%2FH2%3E%0A%3CP%3EWith%20the%20ledger%20feature%2C%20you%20will%20be%20able%20to%20detect%20if%20data%20in%20your%20Azure%20SQL%20Database%20has%20been%20maliciously%20altered%20and%20if%20so%2C%20restore%20it%20back%20to%20the%20original%20value.%26nbsp%3B%20Using%20the%20same%20cryptographic%20patterns%20seen%20in%20blockchain%20technology%2C%20each%20transaction%20is%20cryptographically%20hashed%20and%20inserted%20in%20a%20blockchain%20data%20structure.%26nbsp%3B%20The%20computed%20hashes%20of%20your%20database%20are%20then%20stored%20outside%20of%20Azure%20SQL%20Database%20in%20tamper-proof%20storage%20(such%20as%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fstorage%2Fblobs%2Fstorage-blob-immutable-storage%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20immutable%20Blob%20storage%3C%2FA%3E%2C%20or%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fconfidentialledger%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Confidential%20Ledger%3C%2FA%3E)%2C%20as%20database%20digests.%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fdatabase%2Fledger-digest-management-and-database-verification%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EDatabase%20digests%3C%2FA%3E%20are%20used%20later%20to%20verify%20that%20data%20in%20the%20database%20has%20not%20been%20tampered%20with%2C%20by%20comparing%20the%20hash%20values%20in%20the%20digests%20against%20the%20calculated%20hashes%20stored%20in%20Azure%20SQL%20Database%20ledger.%26nbsp%3B%20If%20even%20a%20single%20bit%20is%20altered%20in%20the%20database%2C%20the%20database%20verification%20process%20will%20detect%20and%20report%20the%20tampering.%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture1.png%22%20style%3D%22width%3A%20264px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F282006i62DAA31C20B4A49C%2Fimage-dimensions%2F264x70%3Fv%3Dv2%22%20width%3D%22264%22%20height%3D%2270%22%20role%3D%22button%22%20title%3D%22Picture1.png%22%20alt%3D%22Picture1.png%22%20%2F%3E%3C%2FSPAN%3E%3CEM%3E%E2%80%9CAzure%20SQL%20Database%20ledger%20delivers%20our%20platform%20with%20all%20of%20the%20benefits%20that%20blockchain%20technology%20provides%2C%20without%20the%20additional%20heavy%20lifting%20of%20the%20blockchain%20infrastructure%2C%20performance%20considerations%20and%20challenges%20associated%20with%20data%20residency.%20Working%20closely%20with%20Microsoft%20on%20this%20technology%20has%20enabled%20us%20to%20refine%20our%20proposition%2C%20providing%20additional%20benefits%20to%20the%20worlds%20commercial%20banks%20and%20regulators%20alike.%E2%80%9D%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-right%22%3EAndrew%20Smith%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-right%22%3EChief%20Technology%20Officer%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20SQL%20Database%20ledger%20provides%20two%20types%20of%20ledger-enabled%20tables%20for%20your%20database%3A%20%3CSTRONG%3Eupdatable%20ledger%20tables%3C%2FSTRONG%3E%20and%20%3CSTRONG%3Eappend-only%20ledger%20tables%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1617221545%22%20id%3D%22toc-hId--1617221545%22%20id%3D%22toc-hId--1617221545%22%20id%3D%22toc-hId--1617221545%22%20id%3D%22toc-hId--1617221545%22%20id%3D%22toc-hId--1617221545%22%3EUpdatable%20ledger%20tables%3C%2FH3%3E%0A%3CP%3EMost%20existing%20applications%20have%20a%20pattern%20of%20inserting%2C%20as%20well%20as%20updating%20and%20deleting%20data.%26nbsp%3B%20How%2C%20then%2C%20do%20you%20provide%20tamper-evidence%20when%20your%20applications%20modify%20data%20in%20your%20database%3F%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fdatabase%2Fledger-updatable-ledger-tables%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EUpdatable%20ledger%20tables%3C%2FA%3E%20capture%20the%20historical%20values%20of%20rows%20that%20have%20been%20changed%20or%20deleted%20in%20your%20database%20in%20an%20associated%20history%20table.%26nbsp%3B%20However%2C%20capturing%20the%20historical%20values%20of%20rows%20changed%20by%20itself%20isn%E2%80%99t%20helpful%20unless%20you%20know%20which%20transactions%20initiated%20the%20change%2C%20along%20with%20the%20user%20who%20made%20those%20changes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Ledger-Updatable-Architecture.png%22%20style%3D%22width%3A%20460px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F282007iE4AB911C02B0CFAA%2Fimage-dimensions%2F460x543%3Fv%3Dv2%22%20width%3D%22460%22%20height%3D%22543%22%20role%3D%22button%22%20title%3D%22Ledger-Updatable-Architecture.png%22%20alt%3D%22Ledger-Updatable-Architecture.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEach%20transaction%20in%20an%20updatable%20ledger%20table%20is%20assigned%20a%20unique%20transaction%20ID%2C%20as%20well%20as%20tracking%20the%20sequence%20of%20row%20modifications%20in%20the%20transaction.%26nbsp%3B%20This%20information%20allows%20you%20to%20perform%20the%20forensics%20necessary%20to%20understand%20the%20data%20lineage%20of%20all%20changes%20to%20data%20in%20your%20database%20over%20time.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20example%2C%20in%20a%20simple%20banking%20transaction%20scenario%2C%20Nick%20originally%20had%20a%20balance%20of%20%2450%20(a)%20in%20his%20account.%26nbsp%3B%20Later%20he%20deposits%20an%20additional%20%2450%20into%20his%20account%2C%20updating%20his%20total%20balance%20to%20%24100.%26nbsp%3B%20This%20is%20represented%20in%20the%20ledger%20view%20as%20a%20DELETE%20of%20his%20original%20balance%20of%20%2450%2C%20and%20an%20INSERT%20of%20a%20new%20row%20of%20%24100%20(b).%26nbsp%3B%20A%20ledger%20view%20is%20created%20for%20your%20updatable%20ledger%20table%20which%20shows%20both%20the%20history%20of%20the%20data%2C%20as%20well%20as%20the%20transaction%20IDs%20that%20initiated%20the%20data%20changes.%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorJason%20M.%20Anderson_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Updatable.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F282014i688F36BF315FD5FD%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Updatable.png%22%20alt%3D%22Updatable.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhile%20a%20real-world%20account%20ledger%20schema%20would%20be%20much%20more%20complex%20with%20normalized%20tables%2C%20this%20is%20just%20a%20simple%20example%20to%20show%20the%20relationship%20of%20managing%20historical%20data%20in%20updatable%20ledger%20tables.%26nbsp%3B%20Follow%20this%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fdatabase%2Fledger-how-to-updatable-ledger-tables%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Etutorial%3C%2FA%3E%2C%20which%20uses%20the%20example%20above%2C%20on%20how%20to%20use%20updatable%20ledger%20tables.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-870291288%22%20id%3D%22toc-hId-870291288%22%20id%3D%22toc-hId-870291288%22%20id%3D%22toc-hId-870291288%22%20id%3D%22toc-hId-870291288%22%20id%3D%22toc-hId-870291288%22%3EAppend-only%20ledger%20tables%3C%2FH3%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fdatabase%2Fledger-append-only-ledger-tables%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAppend-only%20ledger%20tables%3C%2FA%3E%20differ%20from%20updatable%20ledger%20tables%20in%20that%20UPDATE%20and%20DELETE%20operations%20are%20blocked%20by%20SQL%20Server.%26nbsp%3B%20This%20makes%20append-only%20ledger%20tables%20ideal%20for%20applications%20that%20expect%20an%20insert-only%20pattern%2C%20such%20as%20Security%20Information%20and%20Event%20Management%20(SIEM)%20systems.%26nbsp%3B%20By%20blocking%20UPDATE%20and%20DELETE%20operations%2C%20there%20is%20no%20need%20for%20an%20associated%20history%20table.%26nbsp%3B%20Additionally%2C%20append-only%20ledger%20tables%20provide%20an%20extra%20layer%20of%20security%2C%20preventing%20privileged%20users%20from%20modifying%20the%20data%20in%20the%20append-only%20ledger%20table.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22SQL%20Ledger%20Architecture%20Append.png%22%20style%3D%22width%3A%20452px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F282015i81E51BD410FAF7A8%2Fimage-dimensions%2F452x534%3Fv%3Dv2%22%20width%3D%22452%22%20height%3D%22534%22%20role%3D%22button%22%20title%3D%22SQL%20Ledger%20Architecture%20Append.png%22%20alt%3D%22SQL%20Ledger%20Architecture%20Append.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAnother%20benefit%20of%20append-only%20ledger%20tables%20is%20its%20ability%20to%20extend%20blockchain%20applications.%26nbsp%3B%20Blockchains%20are%20not%20optimized%20for%20high-throughput%20queries%2C%20nor%20do%20they%20provide%20the%20relational%20capabilities%20needed%20for%20business%20intelligence%20reporting.%26nbsp%3B%20By%20replicating%20the%20blockchain%20data%20to%20Azure%20SQL%20Database%20ledger%2C%20customers%20have%20the%20ability%20to%20easily%20query%20blockchain%20data%20in%20a%20performant%20manner%2C%20and%20more%20importantly%2C%20persist%20the%20data%20integrity%20from%20the%20blockchain%20to%20the%20off-chain%20append-only%20ledger%20tables.%26nbsp%3B%20Follow%20this%20simple%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fdatabase%2Fledger-how-to-append-only-ledger-tables%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Etutorial%3C%2FA%3E%20to%20learn%20how%20to%20use%20append-only%20ledger%20tables.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22bp.png%22%20style%3D%22width%3A%20192px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F282020i05E442369199D1E9%2Fimage-size%2Fsmall%3Fv%3Dv2%26amp%3Bpx%3D200%22%20role%3D%22button%22%20title%3D%22bp.png%22%20alt%3D%22bp.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%22%3CEM%20style%3D%22font-family%3A%20inherit%3B%22%3Ebp%20decided%20to%20explore%20alternatives%20to%20address%20the%20major%20impediments%20of%20the%20blockchain%20solution%20they%20were%20using%2C%20e.g.%20developer%20velocity%2C%20querying%20of%20the%20ledger%20and%20infrastructure%20costs.%26nbsp%3B%20Azure%20SQL%20Database%20led%3C%2FEM%3E%3CEM%20style%3D%22font-family%3A%20inherit%3B%22%3Eger%20provides%20a%20tamper%20evident%20data%20store%20for%20a%20centralised%20solution%20that%20relies%20on%20a%20high%20degree%20of%20trust%20in%20the%26nbsp%3B%3C%2FEM%3E%3CEM%20style%3D%22font-family%3A%20inherit%3B%22%3Eintegrity%20of%20the%20data.%20Using%20Azure%20SQL%20Database%20ledger%20has%20helped%20increase%20developer%20velocity%20and%20we%20expect%20it%20to%20enhance%20bp%E2%80%99s%20ability%20to%20build%20secure%20trusted%20applications%20to%20support%20our%20core%20value%20of%20safety.%E2%80%9D%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-right%22%3E%3CEM%20style%3D%22font-family%3A%20inherit%3B%22%3EChristian%20Mare%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-right%22%3E%3CEM%20style%3D%22font-family%3A%20inherit%3B%22%3EAzure%20Architect%20-%20Digital%20Production%20%26amp%3B%20Business%20Services%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-right%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20class%3D%22lia-align-left%22%20id%3D%22toc-hId-859788184%22%20id%3D%22toc-hId-859788184%22%20id%3D%22toc-hId-859788184%22%20id%3D%22toc-hId-859788184%22%20id%3D%22toc-hId-859788184%22%20id%3D%22toc-hId-859788184%22%3ELearn%20more%3C%2FH2%3E%0A%3CP%3EReady%20to%20get%20started%20and%20learn%20more%3F%26nbsp%3B%20Check%20out%20the%20below%20resources%20and%20we%20look%20forward%20to%20seeing%20what%20you%20build%20with%20this%20Azure%20SQL%20Database%20ledger!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fazure-sql%2Fdatabase%2Fledger-create-a-single-database-with-ledger-enabled%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ECreate%3C%2FA%3E%20your%20first%20Azure%20SQL%20Database%20with%20the%20ledger%20feature%20enabled%3C%2FLI%3E%0A%3CLI%3EExplore%20the%20Azure%20SQL%20Database%20ledger%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fsql-ledger-docs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3ERead%20the%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fsql-ledger-whitepaper%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ewhitepaper%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2200401%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22MicrosoftTeams-image%20(1).png%22%20style%3D%22width%3A%20988px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F283585i32E35734ADB2BDF9%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22MicrosoftTeams-image%20(1).png%22%20alt%3D%22MicrosoftTeams-image%20(1).png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBringing%20tamper-evidence%20capabilities%20to%20your%20database%2C%20the%20ledger%20feature%20for%20Azure%20SQL%20Database%20provides%20cryptographic%20that%20your%20data%20has%20not%20been%20maliciously%20altered.%26nbsp%3B%20This%20article%20explains%20Azure%20SQL%20Database%20ledger%20and%20how%20it%20can%20help%20digitize%20trusting%20your%20data.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2200401%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20SQL%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20SQL%20Database%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20SQL%20Security%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2502427%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20Azure%20SQL%20Database%20ledger%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2502427%22%20slang%3D%22en-US%22%3E%3CP%3EWill%20the%20preview%20be%20extended%20to%20other%20regions%20(we%20use%20South%20Central)%3F%26nbsp%3B%20Realize%20other%20regions%20are%20to%20follow%20from%20above%20announcement%2C%20just%20wondering%20on%20the%20timeline%20as%20we%20would%20be%20interested%20in%20using.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2522105%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20Azure%20SQL%20Database%20ledger%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2522105%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EToday%20I'm%20excited%20to%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Eannounce%20Azure%20SQL%20Database%20ledger%3C%2FEM%3E%3CSPAN%3E%2C%20which%20adds%20tamper-%20evident%20capabilities%20to%20your%20Azure%20SQL%20Databases%2C%20available%20in%20Preview%20starting.%26nbsp%3B%3CSPAN%20class%3D%22MUxGbd%20wuQ4Ob%20WZ8Tjf%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3EMicrosoft%3C%2FEM%3E%26nbsp%3Bis%26nbsp%3B%3CEM%3Eannouncing%3C%2FEM%3E%26nbsp%3Bseveral%20new%20capabilities%20for%26nbsp%3B%3CEM%3EAzure%20database%3C%2FEM%3E%26nbsp%3Bservices%20at%20Build.%20We%20are%20pleased%20to%26nbsp%3B%3CEM%3Eannounce%3C%2FEM%3E%26nbsp%3Bthe%20public%20preview%20of%26nbsp%3B%3CEM%3EMicrosoft%20Azure%3C%2FEM%3E%26nbsp%3BAnalysis%20Services%2C%20the%20latest%20addition%20to%20our%26nbsp%3B%3CEM%3Edata%3C%2FEM%3E%26nbsp%3Bplatform%20in%20the%20%3CA%20href%3D%22http%3A%2F%2Falignmentfinancialgroup.com%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ecloud%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2596576%22%20slang%3D%22en-US%22%3ERe%3A%20Announcing%20Azure%20SQL%20Database%20ledger%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2596576%22%20slang%3D%22en-US%22%3E%3CP%3ENot%20being%20able%20to%20apply%20this%20to%20existing%20databases%20(or%20tables)%20without%20essentially%20creating%20an%20empty%20database%20with%26nbsp%3B%20tables%20defined%20with%26nbsp%3B%3CSPAN%3ESYSTEM_VERSIONING%20%3D%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22hljs-keyword%22%3EON%3C%2FSPAN%3E%3CSPAN%3E%2C%20LEDGER%20%3D%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22hljs-keyword%22%3EON%20and%20then%20importing%20data%20from%20one's%20existing%20tables%20into%20these%20empty%20tables%20appears%20to%20be%20the%20only%20to%20handle%20something%20that%20already%20exists.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20very%20interested%20in%20this%20but%20given%20I%20have%20230%20customer%20tables%2C%20some%20of%20which%20are%20extremely%20busy%2C%20I%20am%20not%20seeing%20one%20could%20get%20there%20from%20here.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎May 25 2021 08:51 AM
Updated by: