Transact-SQL Reference

sp_getsubscriptiondtspackagename

Returns the name of the DTS package used to transform data before they are sent to a Subscriber. This stored procedure is executed at the Publisher on any database.

Syntax

sp_getsubscriptiondtspackagename [ @publication = ] 'publication'
    [ , [ @subscriber = ] 'subscriber' ]

Arguments

[@publication = ] 'publication'

Is the name of the publication. 'publication' is sysname, with no default.

[@subscriber= ] 'subscriber'

Is the name of the Subscriber. subscriber is sysname, with a default of NULL.

Return Code Values

0 (success) or 1 (failure)

Result Sets
Column name Data type Description
new_package_name sysname The name of the DTS package.

Remarks

sp_getsubscriptiondtspackagename is used in snapshot replication and transactional replication.

Permissions

Members of the public role can execute sp_getsubscriptiondtspackagename.

See Also

How Transformable Subscriptions Works

System Stored Procedures

Transforming Published Data