Export (0) Print
Expand All
Expand Minimize


SQL Server 2000

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.


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


[@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.


sp_getsubscriptiondtspackagename is used in snapshot replication and transactional replication.


Members of the public role can execute sp_getsubscriptiondtspackagename.

See Also

How Transformable Subscriptions Works

System Stored Procedures

Transforming Published Data

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft