Topics about change1/6/2023 If an application requires information about all the changes that were made and the intermediate values of the changed data, using change data capture, instead of change tracking, might be appropriate. The fact that a row has changed and information about the change must be available and recorded at the time that the change was made in the same transaction.The latest data can be obtained directly from the table that is being tracked. Only the fact that a row has changed is required, not how many times the row has changed or the values of any intermediate changes. Applications can use change tracking to answer the following questions about the changes that have been made to a user table: Creating these mechanisms usually involved a lot of work and frequently involved using a combination of triggers, timestamp columns, new tables to store tracking information, and custom cleanup processes.ĭifferent types of applications have different requirements for how much information they need about the changes. Typically, to enable applications to query for changes to data in a database and access information that is related to the changes, application developers had to implement custom change tracking mechanisms. Applies to: SQL Server (all supported versions) Azure SQL DatabaseĬhange tracking is a lightweight solution that provides an efficient change tracking mechanism for applications.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |