sp_helpmergearticlecolumn (Transact-SQL)
Collapse the table of content
Expand the table of content

sp_helpmergearticlecolumn (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).

Returns the list of columns in the specified table or view article for a merge publication. Because stored procedures do not have columns, this stored procedure returns an error if a stored procedure is specified as the article. This stored procedure is executed at the Publisher on the publication database.

Topic link icon Transact-SQL Syntax Conventions

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

[ @publication=] 'publication'

Is the name of the publication.publication is sysname, with no default.

[ @article=] 'article'

Is the name of a table or view that is the article to retrieve information on.article is sysname, with no default.

Column name

Data type




Identifies the column.



Is the name of the column for a table or view.



Specifies if the column name is published.

1 specifies that the column is being published.

0 specifies that it is not published.

0 (success) or 1 (failure)

sp_helpmergearticlecolumn is used in merge replication.

Only members of the replmonitor fixed database role in the distribution database or the publication access list for the publication can execute sp_helpmergearticlecolumn.

Community Additions

© 2015 Microsoft