下午,
我已在特定表(下面的代码)上启用了CDC,但是我想知道是否有可能仅跟踪LocationTypeID column
上的更改,但仍记录系统表中该行的其余列?>
EXEC sys.sp_cdc_enable_table
@source_schema = N'LocationManagementOperational',
@source_name = N'FunctionalLocation',
@role_name = N'Public',
@captured_column_list = N'[ID], [ParentID], [LocationTypeID], [Path], [Elevation], [InclinationPositionX], [InclinationPositionY], [InclinationPercentage], [InclinationAzimuth], [DispatchSignId], [MaterialGeometry], [DynamicDigLimitInclination], [LastUpdate], [RecordStatus]',
@index_name = N'UQ_FunctionalLocation',
@supports_net_changes = 1