You can enable Change Data Capture of a SQL Server database using below T-SQL Statement.
Use [YourDatabase_name]
EXEC sys.sp_cdc_enable_db
GO
Use [YourDatabase_name]
EXEC sys.sp_cdc_enable_db
GO
TechBrothersIT is a blog and YouTube channel sharing real-world tutorials, interview questions, and examples on SQL Server (T-SQL, DBA), SSIS, SSRS, Azure Data Factory, GCP Cloud SQL, PySpark, ChatGPT, Microsoft Dynamics AX, Lifecycle Services, Windows Server, TFS, and KQL. Ideal for data engineers, DBAs, and developers seeking hands-on, step-by-step learning across Microsoft and cloud platforms.
No comments:
Post a Comment