Once per week, a snapshot publication is done from a database "myDB" in PROD to "myDB" in PREPROD.
Now in PREPROD we set up a transactional replication between "myDB" to another PREPROD database "myDB2".
The problem is that the transactional replication block the SNAPSHOT with the error :
Cannot truncate table 'dbo.myTable' because it is published for replication or enabled for Change Data Capture
The solution I think is deleting the transactional replication once a week, creating a snapshot replication, run it, then delete it. After that recreate the transactional replication. And doing that by scheduling scripts containing the publications/subscription .
Is there a cleaner solution to achieve that ?
