Skip to content

Commit 6f23bf8

Browse files
authored
Update ledger-updatable-ledger-tables.md
Corrected values and column name for ledger_operation_type i ledger view.
1 parent 09c0507 commit 6f23bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-sql/database/ledger-updatable-ledger-tables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The ledger view's schema mirrors the columns defined in the updatable ledger and
7575
| --- | --- | --- |
7676
| ledger_transaction_id | bigint | The ID of the transaction that created or deleted a row version. |
7777
| ledger_sequence_number | bigint | The sequence number of a row-level operation within the transaction on the table. |
78-
| ledger_operation_type_id | tinyint | Contains `0` (**INSERT**) or `1` (**DELETE**). Inserting a row into the ledger table produces a new row in the ledger view that contains `0` in this column. Deleting a row from the ledger table produces a new row in the ledger view that contains `1` in this column. Updating a row in the ledger table produces two new rows in the ledger view. One row contains `1` (**DELETE**), and the other row contains `1` (**INSERT**) in this column. |
78+
| ledger_operation_type | tinyint | Contains `1` (**INSERT**) or `2` (**DELETE**). Inserting a row into the ledger table produces a new row in the ledger view that contains `1` in this column. Deleting a row from the ledger table produces a new row in the ledger view that contains `2` in this column. Updating a row in the ledger table produces two new rows in the ledger view. One row contains `2` (**DELETE**), and the other row contains `1` (**INSERT**) in this column. |
7979
| ledger_operation_type_desc | nvarchar(128) | Contains `INSERT` or `DELETE`. For more information, see the preceding row. |
8080

8181
## Next steps

0 commit comments

Comments
 (0)