Azure SQL Database Ledger
Blockchain and SQL for centralized systems
Jose Javier Columbie
DevExpress & Microsoft MVP
javier.columbie@xari.io
@jjcolumbie
© Microsoft Azure + AI Conference All rights reserved.
DEVSpring22
DEVSpring22
© Microsoft Azure + AI Conference All rights reserved.
Blockchain
© Microsoft Azure + AI Conference All rights reserved.
Blockchain
• Hash Cryptography
• Immutable Ledger
• Distributed P2P Network
• Mining
• Consensus Protocol
© Microsoft Azure + AI Conference All rights reserved.
Blockchain
• Hash Cryptography
• Merkle Tree
“Mathematical data structure composed of
hashes of different blocks of data, and which
serves as a summary of all transactions in a
block.”
© Microsoft Azure + AI Conference All rights reserved.
Blockchain
• Immutable Ledger
© Microsoft Azure + AI Conference All rights reserved.
Blockchain
• Distributed P2P Network
© Microsoft Azure + AI Conference All rights reserved.
Blockchain
• Mining
© Microsoft Azure + AI Conference All rights reserved.
Blockchain
• Consensus Protocol
© Microsoft Azure + AI Conference All rights reserved.
Blockchain - Limitations
1. Early Stage
2. Lack of Awareness
3. Limited Available Technical Talent
4. Scalability && Performance
5. Hardware (Node)
© Microsoft Azure + AI Conference All rights reserved.
Blockchain has enabled digital trust
Companies are moving from
intermediaries and manual auditing that
are slow and costly…
…to ledger technologies that reduce cost,
saves time and lower risk.
© Microsoft Azure + AI Conference All rights reserved.
Blockchain has enabled digital trust
But blockchain isn't always the right fit for all
systems that require digitization of trust
"Ninety percent of permissioned blockchain
projects are misaligned to blockchain
technology, because they remain
centralized database projects at the core."
© Microsoft Azure + AI Conference All rights reserved.
Azure SQL Ledger
The power of the blockchain with the simplicity of SQL
Makes data in SQL
tamper-evident through
cryptography
Provides a historical record
of all changes, verified
through cryptography
proofs The same SQL you
already know across
Azure and on-premises
© Microsoft Azure + AI Conference All rights reserved.
 Updatable ledger tables
 Allow updates and deletes
 Data is protected through the database ledger
 Database digests are uploaded
 Database digests are used to verify the database
 Append-only ledger tables
 Not allow updates and deletes
Ledger tables in Azure SQL Database
© Microsoft Azure + AI Conference All rights reserved.
Scenarios for ledger tables
TRUSTED OFF-CHAIN STORE FOR
BLOCKCHAIN
Blockchain solutions typically replicate chain
data “off-chain” to traditional databases. Ledger
tables maintains integrity of blockchain data
STREAMLINING THE
AUDIT PROCESS
Cryptographically verifying data has
not been tampered to other parties
whether external or internal (auditors
or regulators)
MULTI-PARTY BUSINESS
PROCESSES
Alternative to blockchain for systems that
are centralized solutions at their core (trust,
but verify)
© Microsoft Azure + AI Conference All rights reserved.
Updatable ledger tables
SQL
Ledger view
Updatable ledger
table
History table
Trusted
storage
Database ledger
© Microsoft Azure + AI Conference All rights reserved.
Append-only ledger tables
SQL
Ledger view
Append-only
ledger table
Trusted
storage
Database ledger
© Microsoft Azure + AI Conference All rights reserved.
Business-critical data
in a WORM state
(Write Once, Read Many)
© Microsoft Azure + AI Conference All rights reserved.
EXECUTE sp_generate_database_ledger_digest
© Microsoft Azure + AI Conference All rights reserved.
Demo
© Microsoft Azure + AI Conference All rights reserved.
Thanks for joining!
Jose Javier Columbie
javier.columbie@xari.io
@jjcolumbie
© Microsoft Azure + AI Conference All rights reserved.
Don’t forget to complete an online evaluation
Azure SQL Database Ledger
Blockchain and SQL for centralized systems
Your evaluation helps organizers build better
conferences
and helps speakers improve their sessions.
Thank you!
APRIL 5-7, 2022 LAS VEGAS, NV
MGM GRAND
FOR INFORMATION ABOUT OUR NEXT
IN PERSON EVENT, VISIT OUR
WEBSITE AT

Azure SQL Ledger

  • 1.
    Azure SQL DatabaseLedger Blockchain and SQL for centralized systems Jose Javier Columbie DevExpress & Microsoft MVP javier.columbie@xari.io @jjcolumbie
  • 2.
    © Microsoft Azure+ AI Conference All rights reserved. DEVSpring22 DEVSpring22
  • 3.
    © Microsoft Azure+ AI Conference All rights reserved. Blockchain
  • 4.
    © Microsoft Azure+ AI Conference All rights reserved. Blockchain • Hash Cryptography • Immutable Ledger • Distributed P2P Network • Mining • Consensus Protocol
  • 5.
    © Microsoft Azure+ AI Conference All rights reserved. Blockchain • Hash Cryptography • Merkle Tree “Mathematical data structure composed of hashes of different blocks of data, and which serves as a summary of all transactions in a block.”
  • 6.
    © Microsoft Azure+ AI Conference All rights reserved. Blockchain • Immutable Ledger
  • 7.
    © Microsoft Azure+ AI Conference All rights reserved. Blockchain • Distributed P2P Network
  • 8.
    © Microsoft Azure+ AI Conference All rights reserved. Blockchain • Mining
  • 9.
    © Microsoft Azure+ AI Conference All rights reserved. Blockchain • Consensus Protocol
  • 10.
    © Microsoft Azure+ AI Conference All rights reserved. Blockchain - Limitations 1. Early Stage 2. Lack of Awareness 3. Limited Available Technical Talent 4. Scalability && Performance 5. Hardware (Node)
  • 11.
    © Microsoft Azure+ AI Conference All rights reserved. Blockchain has enabled digital trust Companies are moving from intermediaries and manual auditing that are slow and costly… …to ledger technologies that reduce cost, saves time and lower risk.
  • 12.
    © Microsoft Azure+ AI Conference All rights reserved. Blockchain has enabled digital trust But blockchain isn't always the right fit for all systems that require digitization of trust "Ninety percent of permissioned blockchain projects are misaligned to blockchain technology, because they remain centralized database projects at the core."
  • 13.
    © Microsoft Azure+ AI Conference All rights reserved. Azure SQL Ledger The power of the blockchain with the simplicity of SQL Makes data in SQL tamper-evident through cryptography Provides a historical record of all changes, verified through cryptography proofs The same SQL you already know across Azure and on-premises
  • 14.
    © Microsoft Azure+ AI Conference All rights reserved.  Updatable ledger tables  Allow updates and deletes  Data is protected through the database ledger  Database digests are uploaded  Database digests are used to verify the database  Append-only ledger tables  Not allow updates and deletes Ledger tables in Azure SQL Database
  • 15.
    © Microsoft Azure+ AI Conference All rights reserved. Scenarios for ledger tables TRUSTED OFF-CHAIN STORE FOR BLOCKCHAIN Blockchain solutions typically replicate chain data “off-chain” to traditional databases. Ledger tables maintains integrity of blockchain data STREAMLINING THE AUDIT PROCESS Cryptographically verifying data has not been tampered to other parties whether external or internal (auditors or regulators) MULTI-PARTY BUSINESS PROCESSES Alternative to blockchain for systems that are centralized solutions at their core (trust, but verify)
  • 16.
    © Microsoft Azure+ AI Conference All rights reserved. Updatable ledger tables SQL Ledger view Updatable ledger table History table Trusted storage Database ledger
  • 17.
    © Microsoft Azure+ AI Conference All rights reserved. Append-only ledger tables SQL Ledger view Append-only ledger table Trusted storage Database ledger
  • 18.
    © Microsoft Azure+ AI Conference All rights reserved. Business-critical data in a WORM state (Write Once, Read Many)
  • 19.
    © Microsoft Azure+ AI Conference All rights reserved. EXECUTE sp_generate_database_ledger_digest
  • 20.
    © Microsoft Azure+ AI Conference All rights reserved. Demo
  • 21.
    © Microsoft Azure+ AI Conference All rights reserved. Thanks for joining! Jose Javier Columbie javier.columbie@xari.io @jjcolumbie
  • 22.
    © Microsoft Azure+ AI Conference All rights reserved. Don’t forget to complete an online evaluation Azure SQL Database Ledger Blockchain and SQL for centralized systems Your evaluation helps organizers build better conferences and helps speakers improve their sessions. Thank you!
  • 23.
    APRIL 5-7, 2022LAS VEGAS, NV MGM GRAND FOR INFORMATION ABOUT OUR NEXT IN PERSON EVENT, VISIT OUR WEBSITE AT