Displays information about an article.
sp_helparticle [@publication =] 'publication' [,[@article =] 'article']
[,[@returnfilter =] returnfilter]
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. |
sp_helparticle is used in snapshot and transactional replication.
Execute permissions default to the public role.
sp_addarticle | sp_droparticle |
sp_addpublication | sp_droppublication |
sp_articlecolumn | sp_enumfullsubscribers |
sp_changearticle | sp_helppublication |
sp_changepublication | System Stored Procedures |