Features

Track data changes using CDC in SQL Server Enterprise edition

SQL Server provides two features that track changes to data in a database: change data capture and change tracking. These features enable applications to determine the DML changes (insert, update, and delete operations) that were made to user tables in a database. Change Data Capture configuration settings ● maxtrans* — The maximum number of transactions to process in …

Track data changes using CDC in SQL Server Enterprise edition Read More »

How to write merge statement in SQL Server

SQL Server provides the MERGE statement that allows you to perform three actions at the same time. If you use the INSERT, UPDATE, and DELETE statement individually, you have to construct three separate statements to update the data to the target table with the matching rows from the source table. The following shows the syntax …

How to write merge statement in SQL Server Read More »