So this will have been the third time that I got burned by a database with two tables enabled with Change Tracking. Each time till now I kept forgetting to write them down somewhere.
So if you come across this post, here is the query to run against a database to find out just which tables are setup with change tracking.
select sys.schemas.name as Schema_name, sys.tables.name as Table_name from sys.change_tracking_tables
join sys.tables on sys.tables.object_id = sys.change_tracking_tables.object_id
join sys.schemas on sys.schemas.schema_id = sys.tables.schema_id
And just like that, I don’t have anything else to add.. thanks for reading, back to work I go!