sp_helparticledts
Used to get information on the correct custom task names to use when creating a transformation subscription using Visual Basic®. This stored procedure is executed at the Publisher on the publication database.
Syntax
sp_helparticledts [ @publication = ] 'publication'
, [ @article = ] 'article'
Arguments
[@publication = ] 'publication'
Is the name of the publication. publication is sysname, with no default.
[@article = ] 'article'
Is the name of an article in the publication. article is sysname, with no default.
Result Sets
Column name | Data type | Description |
---|---|---|
pre_script_ignore_error_task_name | sysname | Task name for the programming task that occurs before the snapshot data is copied, and program execution should continue if a script error is encountered. |
pre_script_task_name | sysname | Task name for the programming task that occurs before the snapshot data is copied. Program execution halts on error. |
transformation_task_name | sysname | Task name for the programming task when using a Data Driven Query task. |
post_script_ignore_error_task_name | sysname | Task name for the programming task that occurs after the snapshot data is copied, and program execution should continue if a script error is encountered. |
post_script_task_name | sysname | Task name for the programming task that occurs after the snapshot data is copied. Program execution halts on error. |
Remarks
sp_helparticledts is used in snapshot replication and transactional replication.
There are naming conventions, required by the replication agents, which must be followed when naming tasks in a replication DTS program. For custom tasks, such as an Execute SQL task, the name is a concatenated string consisting of the article name, a prefix, and an optional part. When writing the code, if you are unsure what the task names should be, the result set gives the task names that should be used. For more information, see Creating a Transformable Subscription Using Visual Basic.
Permissions
Execute permissions default to the public role.
See Also
Creating a Transformable Subscription Using Visual Basic