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

sp_helparticlecolumns (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 all columns in the underlying table. This stored procedure is executed at the Publisher on the publication database. For Oracle Publishers, this stored procedure is executed at the Distributor on any database.

Topic link icon Transact-SQL Syntax Conventions

sp_helparticlecolumns [ @publication = ] 'publication'  
        , [ @article = ] 'article'
    [ , [ @publisher = ] 'publisher' ]

[ @publication =] 'publication'

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

[ @article=] 'article'

Is the name of the article that has its columns returned. article is sysname, with no default.

[ @publisher= ] 'publisher'

Specifies a non-Microsoft SQL Server Publisher. publisher is sysname, with a default of NULL.

Note Note

publisher should not be specified when the requested article is published by a SQL Server Publisher.

0 (columns that are not published) or 1 (columns that are published)

Column name

Data type


column id


Identifier for the column.



Name of the column.



Whether column is published:

0 = No

1 = Yes

publisher type


Data type of the column at the Publisher.

subscriber type


Data type of the column at the Subscriber.

sp_helparticlecolumns is used in snapshot and transactional replication.

sp_helparticlecolumns is useful in checking a vertical partition.

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

Community Additions

© 2015 Microsoft