I am trying to enable cdc on one of my tables, and I get the following error and nothing I have found seems to work,
Msg 22832, Level 16, State 1, Procedure sp_cdc_enable_table_internal, Line 607
Could not update the metadata that indicates table [dbo].[Client_Types] is enabled for Change Data Capture. The failure occurred when executing the command 'insert into [cdc].[change_tables]'. The error returned was 515: 'Cannot insert the value NULL into column
'has_drop_pending', table 'BillingDb.cdc.change_tables'; column does not allow nulls. INSERT fails.'. Use the action and error to determine the cause of the failure and resubmit the request.
I am running SQL 2008 SP3 with .Net 4.5, and here is the cmmands I am running.
EXECUTE sys.sp_cdc_enable_table @source_sehema = N'dbo', @source_name = N'Client_type', @role = NULL
Any ideas?