CREATE TABLE ... LEDGER (APPEND_ONLY = ON)
blocks UPDATE and DELETE
What changes
- Input
- table definition
- Output or change
- append-only ledger table
Syntax at a glance
LEDGER = ON ( APPEND_ONLY = ON )
Work example
A ledger design needs an append-only table whose rows cannot be updated or deleted.
Review the audit requirement, ledger scope, retention, and verification owner before selecting append-only mode.
Check your work The lab rejects row updates and deletes while the ledger retains its expected history.
Open Microsoft Learn for full syntax, permissions, and details for your version.