I'm working on a legacy system that have a call to this function (sys.fn_cdc_map_time_to_lsn), and I'm getting the following error:
Invalid object name 'cdc.lsn_time_mapping'
I couldn't find this table on Object Explorer. Is there any replacement for this function or do I need to have any special permission to access it?
Thanks in advance.
As it turns out, CDC was not enabled for the OPs database. Enabling it will create this table (among other objects).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With