錯誤描述:
Msg 15517, Level 16, State 1, Procedure sp_replcmds, Line 1
Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.
將 publisher 的數據庫sp_changedbowner 'sa' 然後再執行刪除,就能解決問題了