我没有找到 cdc.fn_cdc_get_net_changes_*

问题描述 投票:0回答:1

我正在使用 CDC 开发 SQL Server 业务逻辑。 CDC 工作正常,我看到 cdc 表中的更改,但找不到函数 cdc.fn_cdc_get_net_changes*。但还存在其他函数:cdc.fn_cdc_get_all_changes* 等 请问是什么原因以及如何查找?

sql-server cdc
1个回答
0
投票
EXEC sys.sp_cdc_enable_table  
    @source_schema = N'dbo',  
    @source_name   = N'Sales',  
    @role_name     = NULL,  
    @filegroup_name = NULL,  
    @supports_net_changes = 0 --< that is the reason
最新问题
© www.soinside.com 2019 - 2024. All rights reserved.