Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
sp_helparticledts (Transact-SQL)
Collapse the table of content
Expand the table of content

sp_helparticledts (Transact-SQL)

Applies To: SQL Server 2014, SQL Server 2016 Preview

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

Used to get information on the correct custom task names to use when creating a transformation subscription using Microsoft Visual Basic. This stored procedure is executed at the Publisher on the publication database.

Topic link icon Transact-SQL Syntax Conventions

sp_helparticledts [ @publication = ] 'publication', [ @article = ] 'article'

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

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

0 (success) or 1 (failure)

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 Data Transformation Services (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.

Only members of the sysadmin fixed server role and the db_owner fixed database role can execute sp_helparticledts.

Community Additions

ADD
Show:
© 2015 Microsoft