You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have implemented change tracking operators in MSSQL device following the MS SQL Server change tracking support:
CHANGETABLE_CHANGES(table,Long): table (maps to CHANGETABLE(CHANGES...) operator in SQL Server): returns some change tracking information, keyed by the clustering key of the table
CHANGE_TRACKING_MIN_VALID_VERSION(table): Long (maps to operator of the same name in SQL Server): returns the minimal version among all rows in the table
CHANGE_TRACKING_CURRENT_VERSION() (maps to operator of the same same in SQL Server); this function, when added to a table which has change tracking enabled, will yield the version of every row
(We haven't implemented CHANGETABLE(VERSION ...) at the moment.)
Is anybody interested in change tracking for other databases?
Perhaps a unified change tracking API needs to be added to D4? For instance, a new tag Storage.ChangeTrackingType could be used to emit additional DDL statements during reconciliation (for SQL Server change tracking, it is necessary to (a) enable database-wide change tracking, (b) enable change tracking for tables; in Postgres, for every tracked table, have to create insert/update/delete triggers and a tombstone)
Not sure what it means to use change tracking for different devices? Wouldn't that wreak havoc? The timestamps/versions would be incompatible, wouldn't they?
The text was updated successfully, but these errors were encountered:
We have implemented change tracking operators in MSSQL device following the MS SQL Server change tracking support:
CHANGETABLE_CHANGES(table,Long): table
(maps toCHANGETABLE(CHANGES...)
operator in SQL Server): returns some change tracking information, keyed by the clustering key of the tableCHANGE_TRACKING_MIN_VALID_VERSION(table): Long
(maps to operator of the same name in SQL Server): returns the minimal version among all rows in the tableCHANGE_TRACKING_CURRENT_VERSION()
(maps to operator of the same same in SQL Server); this function, when added to a table which has change tracking enabled, will yield the version of every row(We haven't implemented
CHANGETABLE(VERSION ...)
at the moment.)Refer to: https://technet.microsoft.com/en-us/library/cc280358%28v=sql.105%29.aspx
A few questions:
The text was updated successfully, but these errors were encountered: