Changes the options for a subscription server. Any distribution task for the publisher's subscribers will be updated. The description parameter allows the user to add descriptive text and is used for ODBC and SQL Server subscribers to determine what version of SQL Server is being used for replication.
For additional syntax information for sp_changesubscriber, see the Microsoft SQL Server Transact-SQL Reference.
sp_changesubscriber subscriber [, type] [, login] [, password]
[, commit_batch_size] [, status_batch_size] [, flush_frequency] [, frequency_type]
[, frequency_interval] [, frequency_relative_interval]
[, frequency_recurrence_factor] [, frequency_subday]
[, frequency_subday_interval] [, active_start_time_of_day]
[, active_end_time_of_day] [, active_start_date] [, active_end_date]
[, description]
where
This example sets up ACCOUNTS as a subscription server and puts in a comment as a description.
sp_changesubscriber ACCOUNTS, @description = 'Temporary Subscriber'
Execute permission defaults to the system administrator.