Cannot add the foreign key %s with the CASCADE option because table %s is published. Add the NOT FOR REPLICATION clause to the foreign key definition.

Solution ID: 21724

Type: SQLserver

Arguments: Cannot add the foreign key %s with the CASCADE option because table %s is published. Add the NOT FOR REPLICATION clause to the foreign key definition.

Error

21724

Severity

10

Event logged

No

Description

Cannot add the foreign key %s with the CASCADE option because table %s is published. Add the NOT FOR REPLICATION clause to the foreign key definition.

Browse all solutions to database errors from Oracle, MS SQL or MySQL