Changes the password for a Distributor. This stored procedure is executed at the Publisher on the distribution database.
sp_changedistributor_password [ @password = ] 'password'
[@password =] 'password'
Is the new password. password is sysname, with no default. If the Distributor is local, the password of the distributor_admin system login is changed.
0 (success) or 1 (failure)
sp_changedistributor_password is used in all types of replication.
Only members of the sysadmin fixed server role can execute sp_changedistributor_password.