Returns all transactional replication errors for a given subscription. This stored procedure is executed at the Distributor on the distribution database.
sp_helpsubscriptionerrors [ @publisher = ] 'publisher' , [ @publisher_db = ] 'publisher_db' , [ @publication = ] 'publication' , [ @subscriber = ] 'subscriber' , [ @subscriber_db = ] 'subscriber_db'
ID of the error.
Time the error occurred.
Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.
Error source type ID.
Name of the error source.
Starting transaction log sequence number of the failed execution batch. Used only by the Distribution Agents, this is the transaction log sequence number of the first transaction in the failed execution batch.
Command ID of the failed execution batch. Used only by the Distribution Agents, this is the command ID of the first command in the failed execution batch.
ID of the agent session in which the error occurred.