Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

sp_helparticle

SQL Server 2000

  New Information - SQL Server 2000 SP3.

Displays information about an article. This stored procedure is executed at the Publisher on the publication database.

Syntax

sp_helparticle [ @publication = ] 'publication'
    [ , [ @article = ] 'article' ]
    [ , [ @returnfilter = ] returnfilter ]

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 a default of %. If article is not supplied, information on all articles for the specified publication is returned.

[@returnfilter = ] returnfilter

Specifies whether the filter clause should be returned. returnfilter is bit, with a default of 1, which returns the filter clause.

Result Sets
Column name Data type Description
article id Int ID of the article.
article name sysname Name of the article.
base object nvarchar(257) Name of the underlying table represented by the article or stored procedure.
destination object sysname Name of the destination (subscription) table, if different from source_table or the stored procedure.
synchronization object nvarchar(257) Name of the table or view used for producing a synchronization output file.
type Tinyint Type of article.
status Tinyint Bitmask of the article name:

0 = For internal use only.
1 = Active.
8 = Include the column name in insert statements.
16 = Use parameterized statements.
24 = Include the column name in INSERT statements and use parameterized statements.

filter nvarchar(257) Stored procedure (created with FOR REPLICATION) used to filter the table (horizontal filtering).
description nvarchar(255) Descriptive entry for the article.
insert_command nvarchar(255) Call to the stored procedure to execute upon insert.
update_command nvarchar(255) Call to the stored procedure to execute upon update.
delete_command nvarchar(255) Call to the stored procedure to execute upon delete.
creation script path nvarchar(255) Path and name of an article schema script used to create target tables.
vertical partition Bit Columns to replicate.
pre_creation_cmd Tinyint Precreation command for DROP TABLE, DELETE TABLE, or TRUNCATE TABLE.
filter_clause Ntext WHERE clause specifying the horizontal filtering.
schema_option binary(8) Bitmap of the schema generation option for the given article.
dest_owner sysname Name of the owner of the destination object.
source_owner sysname Owner of the source object.
unqualified_source_object sysname Name of the source object, without the owner name.
sync_object_owner sysname Owner of the synchronization object.
unqualified_sync_object sysname Name of the synchronization object, without the owner name.
filter_owner sysname Owner of the filter.
unqualified_filter sysname Name of the filter, without the owner name.
auto_identity_range Int Flag indicating if automatic identity range handling was turned on at the publication at the time it was created. 1 means that automatic identity range is enabled; 0 means it is disabled. Note that identity range management only pertains to snapshot or transactional publications that allow immediate updating or queued updating
publisher_identity_range Int Range size of the identity range at the Publisher if the article has auto_identity_range set to true.
identity_range Bigint Range size of the identity range at the Subscriber if the article has auto_identity_range set to true.
threshold Bigint Percentage value indicating when the Distribution Agent assigns a new identity range.

Remarks

sp_helparticle is used in snapshot replication and transactional replication.

Permissions

Only members of the sysadmin fixed server role, the db_owner fixed database role, or the publication access list for the current publication can execute sp_helparticle.

See Also

sp_addarticle

sp_addpublication

sp_articlecolumn

sp_changearticle

sp_changepublication

sp_droparticle

sp_droppublication

sp_enumfullsubscribers

sp_helppublication

System Stored Procedures

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.