SQL Server Replication出现的错误:The process could not execute 'sp_replcmds' on 'WASYGSHA02-0186'.
执行sp_changedbowner,数据库的拥有者只能为SQL_LOGIN or WINDOWS_LOGIN
以下是查询服务器中类型为Sql_login和windows_login的主体
SELECT * FROM sys.server_principals WHERE type IN ('S','U')