The meta data is from an SQL 2012 Server.
I have posted alot more, find the whole list here.
Goto Definition or MetaData
Definition:
sys.sp_marksubscriptionvalidation(nvarchar @publication, nvarchar @subscriber
, nvarchar @destination_db
, nvarchar @publisher)
MetaData:
create procedure sys.sp_marksubscriptionvalidation ( @publication sysname, -- publication name -- @subscriber sysname, -- subscriber name -- @destination_db sysname, -- destination database name -- @publisher sysname = NULL -- publisher -- ) AS BEGIN DECLARE @cmd nvarchar(4000) DECLARE @retcode int DECLARE @publisher_type sysname SET @retcode = 0 -- -- Security Check. -- exec @retcode = sys.sp_MSreplcheck_publish if @@ERROR <> 0 or @retcode <> 0 return(1) EXEC @retcode = sys.sp_MSrepl_getpublisherinfo @publisher = @publisher, @publisher_type = @publisher_type OUTPUT, @rpcheader = @cmd OUTPUT IF @retcode <> 0 RETURN (@retcode) if (@publisher_type = 'MSSQLSERVER') begin set @cmd = @cmd + N'sys.sp_MSmarksubscriptionvalidation ' EXEC @retcode = @cmd @publication, @subscriber, @destination_db end else begin -- Heterogeneous articles are handled directly SET @publisher = UPPER(@publisher) COLLATE DATABASE_DEFAULT set @cmd = @cmd + N'sys.sp_IHmarksubscriptionvalidation ' EXEC @retcode = @cmd @publication, @subscriber, @destination_db, @publisher, @publisher_type end RETURN (@retcode) END
No comments:
Post a Comment