0

DEV Serverのプロダクションのバックアップからデータベースを復元しました。ソースデータベースのレプリケーションが実行されているため、リストアされたデータベースのストアドプロシージャを変更できません

Prod Serverはデータベース上で複数のレプリケーションを実行しています。しかし、私はどちらのレプリケーションもDEVに設定しておらず、そうする予定もありません。

しかし、私はDEVデータベースにストアドプロシージャを変更すると、私に次のエラーを取得:誰かが私にこの問題の解決策を通知した場合、私は感謝される

Msg 21531, Level 16, State 1, Procedure sp_MSmerge_alterschemaonly, Line 50
The data definition language (DDL) command cannot be executed at the Subscriber. DDL commands can only be executed at the Publisher. In a republishing hierarchy, DDL commands can only be executed at the root Publisher, not at any of the republishing Subscribers.

Msg 21530, Level 16, State 1, Procedure sp_MSmerge_ddldispatcher, Line 191
The schema change failed during execution of an internal replication procedure. For corrective action, see the other error messages that accompany this error message.

Msg 3609, Level 16, State 2, Procedure sp_MyName_Get, Line 37
The transaction ended in the trigger. The batch has been aborted.

を。

ありがとうございます!

答えて

0

次のコマンドを試してみてください。

sp_removedbreplication 'database_name' 
関連する問題