Posts

Showing posts from February, 2023

Tables with ledger in sql server 2022

Image
Ledger  in Sql Server 2022 In SQL Server 2022, you can create a ledger using the built-in functionality of the system-versioned temporal tables. A ledger is a record of all transactions that have affected a particular account or set of accounts, and it can be used to keep track of financial data, inventory data, or any other data that involves transactions. Append-only ledger Are ideal for application patterns that are insert-only, such as security information and event management (SIEM) applications. Append-only ledger tables block updates and deletions at the API level. This blocking provides more tampering protection from privileged users such as system administrators and DBAs. To create a table with append-only control use following is the   query CREATE SCHEMA [AccessControl]; GO CREATE TABLE [AccessControl].[KeyCardEvents] ( [EmployeeID] INT NOT NULL , [AccessOperationDescription] NVARCHAR ( 1024 ) NOT NULL , [ Timestamp ...