May 15, 2012

sp_MSget_subscription_dts_info (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_MSget_subscription_dts_info(varbinary @job_id)

MetaData:

 CREATE PROCEDURE sys.sp_MSget_subscription_dts_info   
(
@job_id varbinary(16)
)
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

select dts_package_name, dts_package_location
from MSdistribution_agents where
job_id = @job_id

RETURN (0)
end

No comments:

Post a Comment

Total Pageviews