sp_helparticlecolumns Replication Stored Procedure

Displays all columns in the underlying table.

Syntax

sp_helparticlecolumns publication, article

where

publication
Is the name of the publication that contains the article.
article
Is the name of the article that will have its columns displayed.

Remarks

This stored procedure returns 1 for columns that are published and 0 for those that are not published. It is useful in checking a vertical partition.

Example

This example displays the columns of the authors article in the authors_publication publication.

sp_helparticlecolumns authors_publication, authors

Permission

Execute permission defaults to the public group.

Tables Used

syscolumns, sysarticles, syspublications, syssubscriptions, sysservers

See Also

sp_addarticle sp_droparticle
sp_addpublication sp_droppublication
sp_articlecolumn sp_enumfullsubscribers
sp_changearticle sp_helparticle
sp_changepublication sp_helppublication