Applies To: SQL Server 2014, SQL Server 2016 Preview
Returns a version that is associated with the last committed transaction. This version can be used when you enumerate changes by using CHANGETABLE.
Applies to: SQL Server (SQL Server 2008 through current version).
Returns NULL when change tracking is not enabled for the database.
The following example declares the local variable @next_baseline for storing the current version of tracked changes, and then uses the CHANGE_TRACKING_CURRENT_VERSION() function to obtain the value for the variable.