Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DECLARE @StartVersionID BIGINT
, @EndVersionID BIGINT
-- Set the starting version ID
SET @StartVersionID = (SELECT Change_Tracking_Version
FROM etl.Change_Tracking_Version
WHERE Table_Name = 'Emp')
-- Set the ending version ID
SET @EndVersionID = CHANGE_TRACKING_CURRENT_VERSION()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.