Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
SQL Server
Returns the name of the Data Transformation Services (DTS) package used to transform data before they are sent to a Subscriber. This stored procedure is executed at the Publisher on any database.
Transact-SQL syntax conventions
sp_getsubscriptiondtspackagename
[ @publication = ] N'publication'
[ , [ @subscriber = ] N'subscriber' ]
[ ; ]
The name of the publication. @publication is sysname, with no default.
The name of the Subscriber. @subscriber is sysname, with a default of NULL
.
0
(success) or 1
(failure).
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.
Only members of the sysadmin fixed server role or the db_owner fixed database role can execute sp_getsubscriptiondtspackagename
.
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today