May 10, 2012

sp_MSdrop_qreader_history (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_MSdrop_qreader_history(int @publication_id)

MetaData:

 CREATE PROCEDURE sys.sp_MSdrop_qreader_history   
(
@publication_id int
)
AS
BEGIN
SET NOCOUNT ON
--
-- security check
-- only db_owner can execute this
--
if (is_member ('db_owner') != 1)
begin
raiserror(14260, 16, -1)
return (1)
end
-- Remove associated history
DELETE MSqreader_history
WHERE publication_id = @publication_id
IF (@@ERROR != 0)
return (1)
else
return 0
END

No comments:

Post a Comment

Total Pageviews