开发者

Was this subscription initialized?

开发者 https://www.devze.com 2023-04-01 14:22 出处:网络
Running SQL 2008... Where can I find in the SQL dB or how can I determine if a transac开发者_JAVA百科tional subscription was initialized when it was created??

Running SQL 2008...

Where can I find in the SQL dB or how can I determine if a transac开发者_JAVA百科tional subscription was initialized when it was created??

AHIA,

LarryR...


This is from my post on another message board (click here)

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

LarryR....

0

精彩评论

暂无评论...
验证码 换一张
取 消