Modifies columns for an article. Use sp_articlecolumn to create vertical partitions.
sp_articlecolumn publication, article [, 'column'
[, @operation = {'add' | 'drop'}]]
where
This stored procedure sets a bit in sysarticles. Only an unsubscribed article can be partitioned using sp_articlecolumn.
This example modifies the column col5, marking it for replication.
sp_articlecolumn PUB_TEST, ART_ALLS, 'col5', 'add'
Execute permission defaults to the system administrator and database owner.
syscolumns, sysarticles, syspublications, sysdatabases
sp_addarticle | sp_droppublication |
sp_addpublication | sp_enumfullsubscribers |
sp_articleview | sp_helparticle |
sp_changearticle | sp_helparticlecolumns |
sp_changepublication | sp_helppublication |
sp_droparticle |