sp_addqreader_agent (Transact-SQL)
Adds a Queue Reader agent for a given Distributor. This stored procedure is executed at the Distributor on the distribution database or at the Publisher on the publication database.
sp_addqreader_agent is used in transactional replication.
sp_addqreader_agent must be executed at least once at a Distributor that supports queued updating after sp_adddistributiondb but before sp_addpublication.
The Queue Reader Agent job is removed when you execute sp_dropdistributiondb.
