I want to migrate on-premises SQL Server CDC to S3 files with AWS DMS. Everything works well but CDC operation time in target. I have:
[__$start_lsn]
,[__$end_lsn]
,[__$seqval]
,[__$operation]
columns data in target but nothing regarding timing. How can I have the operation time in the target?
I know that if there is a way to return the result of a SQL function in target I can call sys.fn_cdc_map_lsn_to_time(x.__$start_lsn)
function, but no idea how to do this.
On-premises SQL Server version is:
Microsoft SQL Server 2014 (SP1-CU4)- 12.0.4436.0 (X64) Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1) (Hypervisor)