2011-08-30 3 views
0

SQL 2008 실행 중 ...이 구독은 초기화 되었습니까?

SQL dB는 어디에서 찾을 수 있습니까? 또는 트랜잭션 구독이 만들어 질 때 초기화되었는지 어떻게 알 수 있습니까 ??

AHIA,

LarryR ...

답변

1

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 ....

관련 문제