Hi @Aswin
Greetings & Welcome to Microsoft Q&A forum! Thanks for posting your query!
Regarding the detection of the EMPLOYEE table in Azure SQL Database for Change Data Capture (CDC). Based on the information you provided, it seems that the PersonID column, which is of type int, should indeed be a valid incremental column type for CDC. The int data type for PersonID is indeed supported for CDC. In fact, the schema you have provided (int, varchar(255), int) is compatible with CDC, as all these data types are supported.
However, there are a few key factors to consider that might explain why the table is not appearing in the source table list:
Primary Key Requirement - CDC requires that the table has a primary key defined. Please ensure that the EMPLOYEE table has a primary key constraint on the PersonID column.
CDC Enablement - Make sure that CDC is enabled for both the database and the specific table.
Permissions - Verify that your user account has the necessary permissions to access CDC features.
Database Compatibility Level - Check the compatibility level of your Azure SQL Database. Some features may not be available in lower compatibility levels.
Schema Changes - If there have been recent changes to the schema of the table, it may take some time for those changes to be reflected in the CDC configuration.
For additional information, please refer: Change data capture (CDC) with Azure SQL Database
What are all the supported data types ?
Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
I hope this information helps. Please do let us know if you have any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.