sys.sp_generate_database_ledger_digest
produces the current ledger digest
What changes
- Input
- ledger database block chain
- Output or change
- digest JSON result
Syntax at a glance
sys.sp_generate_database_ledger_digest
Work example
A ledger owner needs a digest to anchor database history outside the database.
Check the database, digest destination, external storage owner, access control, and retention record.
Check your work The digest is stored outside the database with a timestamp and an assigned verifier.
Open Microsoft Learn for full syntax, permissions, and details for your version.