Bug in Azure Portal When Deleting a CDC-Enabled Database From a SQL Managed Instance

sguidos 10 Reputation points
2025-01-16T19:15:58.75+00:00

If you delete a CDC-Enabled database on a SQL Managed Instance using the Azure Portal:

  • The 'capture' and 'cleanup' jobs remain and can be seen the Job Activity Monitor
  • The CDC Job records remain in the 'msdb.dbo.cdc_jobs ' table, with a [dbName] value of NULL

When deleting / dropping a CDC-Enabled database on a SQL Managed Instance using SSMS and the Azure Data Studio the jobs are correctly removed from the Job Activity Monitor and 'msdb.dbo.cdc_jobs ' table.

Azure SQL Database
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.