Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Change Tracking Functions (Transact-SQL)

Applies To: SQL Server 2014, SQL Server 2016 Preview

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

Change tracking records insert, update, and delete activity applied to tracked tables, supplying the details of the changes in an easily consumed relational format. The following functions return information about the changes.




Returns tracking information for all changes to a table that have occurred since a specified version.


Returns the latest change tracking information for a specified row.


Returns the minimum version that is valid for use in obtaining change tracking information from the specified table when you are using the CHANGETABLE function.


Obtains a version that is associated with the last committed transaction. You can use this version the next time you enumerate changes by using CHANGETABLE.


Interprets the SYS_CHANGE_COLUMNS value that is returned by the CHANGETABLE(CHANGES …) function.


Enables the specification of a change context, such as an originator ID, when an application changes data.

Community Additions

© 2015 Microsoft