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_MSenumerate_PAL(nvarchar @publisher, nvarchar @publisher_db
, nvarchar @publication)
MetaData:
CREATE PROCEDURE sys.sp_MSenumerate_PAL ( @publisher sysname, @publisher_db sysname, @publication sysname ) AS begin declare @publication_id int declare @publisher_id smallint declare @retcode int -- -- security check -- only db_owner can execute this -- if (is_member ('db_owner') != 1) begin raiserror(14260, 16, -1) return (1) end -- Check if publisher is a defined as a distribution publisher in the current database exec @retcode = sys.sp_MSvalidate_distpublisher @publisher, @publisher_id OUTPUT if @retcode <> 0 begin return(1) end select @publication_id = publication_id from dbo.MSpublications where publisher_id = @publisher_id and publisher_db = @publisher_db and publication = @publication -- Publication does not exist if @publication_id is null begin return (1) end select login from dbo.MSpublication_access where publication_id = @publication_id and suser_sname(sid) is not NULL end
No comments:
Post a Comment