【发布时间】:2011-04-01 19:37:15
【问题描述】:
我们有许多本地订阅,供应商每天早上使用这些订阅向我们推送数据。我们正在寻找更多关于何时发生这种情况的信息,特别是何时完成使用 T-SQL。
我试过了:
exec sp_replmonitorsubscriptionpendingcmds 'SQL03', 'RSSPA_Common', 'RSSPA_Common_ORA_Tran',
'FBHBGISSQL01', 'RSSPA_Fish', 0
但收到此消息:
Msg 21482, Level 16, State 1, Procedure sp_replmonitorsubscriptionpendingcmds, Line 32
sp_replmonitorsubscriptionpendingcmds can only be executed in the "distribution" database.
我如何知道该订阅何时被使用?
【问题讨论】:
标签: sql sql-server-2005 tsql replication