May 29, 2012

sp_MSsetsubscriberinfo (Transact-SQL MetaData) Definition

Please note: that the following source code is provided and copyrighted by Microsoft and is for educational purpose only.
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_MSsetsubscriberinfo(uniqueidentifier @pubid
, nvarchar @expr)

MetaData:

 create procedure sys.sp_MSsetsubscriberinfo   
(@pubid uniqueidentifier, @expr nvarchar(500))
as
-- Security Checking
-- PAL users have access
if ({fn ISPALUSER(@pubid)} <> 1)
begin
if (@pubid is NULL)
begin
RAISERROR (21723, 16, -1, 'sp_MSsetsubscriberinfo')
return 1
end
else
begin
RAISERROR (14126, 11, -1)
return 1
end
end

update dbo.sysmergepublications set validate_subscriber_info = @expr where pubid = @pubid

No comments:

Post a Comment

Total Pageviews