0

运行 SQL 2008...

我在哪里可以找到 SQL dB,或者如何确定事务订阅在创建时是否已初始化?

AHIA,

拉里...

4

1 回答 1

1

这是我在另一个留言板上的帖子(点击这里)

SELECT p.name [Pub Name], a.name [Article Name],srvname [Destionation Server], dest_db [Destination dB], login_name [Created by],
case sync_type
    when 1 then 'Automatic'
    when 2 then 'NONE'
end Sync_Type,
case nosync_type
    when 0 then 'automatic (snapshot)'
    when 1 then 'Not Initialized'
    when 2 then 'initialize with backup'
    when 3 then 'initialize from log sequence number (LSN)'
end [Init Type]
 FROM dbo.syssubscriptions s
 left join dbo.sysarticles a on s.artid = a.artid 
 left join dbo.syspublications p on a.pubid = p.pubid

拉里R....

于 2011-08-31T14:34:51.677 回答