sp_helparticle (T-SQL)

Displays information about an article.

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

Remarks

sp_helparticle is used in snapshot and transactional replication.

Permissions

Execute permissions default to the public role.

See Also
sp_addarticle sp_droparticle
sp_addpublication sp_droppublication
sp_articlecolumn sp_enumfullsubscribers
sp_changearticle sp_helppublication
sp_changepublication System Stored Procedures

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.